diff --git a/src/gui/Base/HScrollBar.qml b/src/gui/Base/HScrollBar.qml index 39cd7019..85d643bc 100644 --- a/src/gui/Base/HScrollBar.qml +++ b/src/gui/Base/HScrollBar.qml @@ -10,22 +10,22 @@ ScrollBar { padding: 0 background: Rectangle { - color: theme.controls.scrollbar.track + color: theme.controls.scrollBar.track } contentItem: Item { - implicitWidth: theme.controls.scrollbar.width + implicitWidth: theme.controls.scrollBar.width Rectangle { anchors.fill: parent - anchors.leftMargin: theme.controls.scrollbar.sliderPadding + anchors.leftMargin: theme.controls.scrollBar.sliderPadding anchors.rightMargin: anchors.leftMargin - radius: theme.controls.scrollbar.sliderRadius + radius: theme.controls.scrollBar.sliderRadius color: - scrollBar.pressed ? theme.controls.scrollbar.pressedSlider : - sliderHover.hovered ? theme.controls.scrollbar.hoveredSlider : - theme.controls.scrollbar.slider + scrollBar.pressed ? theme.controls.scrollBar.pressedSlider : + sliderHover.hovered ? theme.controls.scrollBar.hoveredSlider : + theme.controls.scrollBar.slider Behavior on color { HColorAnimation {} } diff --git a/src/themes/Glass.qpl b/src/themes/Glass.qpl index c4193e1a..d891a748 100644 --- a/src/themes/Glass.qpl +++ b/src/themes/Glass.qpl @@ -96,7 +96,7 @@ icons: // Generic UI controls controls: - scrollbar: + scrollBar: int width: theme.spacing color track: colors.strongBackground diff --git a/src/themes/Midnight.qpl b/src/themes/Midnight.qpl index f4e84939..a711de0d 100644 --- a/src/themes/Midnight.qpl +++ b/src/themes/Midnight.qpl @@ -99,7 +99,7 @@ icons: // Generic UI controls controls: - scrollbar: + scrollBar: int width: theme.spacing color track: colors.strongBackground