From 37c357ee5ae9b72fa4678e345bf8a2e7dd219321 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 2 May 2025 20:33:23 +1000 Subject: launcher: add scrollbar Also fix height --- widgets/StyledScrollBar.qml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 widgets/StyledScrollBar.qml (limited to 'widgets') 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 + } +} -- cgit v1.2.3-freya