From 2d410bb7cc420d9b5142afaa92b07813c865e2d4 Mon Sep 17 00:00:00 2001 From: miruka Date: Fri, 26 Jun 2020 08:21:24 -0400 Subject: [PATCH] =?UTF-8?q?Themes:=20rename=20section=20scrollbar=20?= =?UTF-8?q?=E2=86=92=20scrollBar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gui/Base/HScrollBar.qml | 14 +++++++------- src/themes/Glass.qpl | 2 +- src/themes/Midnight.qpl | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) 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