diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-02 20:33:23 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-02 20:33:23 +1000 |
| commit | 37c357ee5ae9b72fa4678e345bf8a2e7dd219321 (patch) | |
| tree | 7a958fdebe69936654f954f5850684616a885d34 /widgets | |
| parent | launcher: fuzzy sort (diff) | |
| download | caelestia-shell-37c357ee5ae9b72fa4678e345bf8a2e7dd219321.tar.gz caelestia-shell-37c357ee5ae9b72fa4678e345bf8a2e7dd219321.tar.bz2 caelestia-shell-37c357ee5ae9b72fa4678e345bf8a2e7dd219321.zip | |
launcher: add scrollbar
Also fix height
Diffstat (limited to 'widgets')
| -rw-r--r-- | widgets/StyledScrollBar.qml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/widgets/StyledScrollBar.qml b/widgets/StyledScrollBar.qml new file mode 100644 index 0000000..889a1c3 --- /dev/null +++ b/widgets/StyledScrollBar.qml @@ -0,0 +1,16 @@ +import "root:/config" +import QtQuick +import QtQuick.Controls + +ScrollBar { + id: root + + contentItem: StyledRect { + radius: Appearance.rounding.full + color: Qt.alpha(Appearance.colours.m3secondary, 0.5) + } + + background: StyledRect { + implicitWidth: 10 + } +} |