Themes: rename section scrollbar → scrollBar

This commit is contained in:
miruka 2020-06-26 08:21:24 -04:00
parent 1a93190ee2
commit 2d410bb7cc
3 changed files with 9 additions and 9 deletions

View File

@ -10,22 +10,22 @@ ScrollBar {
padding: 0 padding: 0
background: Rectangle { background: Rectangle {
color: theme.controls.scrollbar.track color: theme.controls.scrollBar.track
} }
contentItem: Item { contentItem: Item {
implicitWidth: theme.controls.scrollbar.width implicitWidth: theme.controls.scrollBar.width
Rectangle { Rectangle {
anchors.fill: parent anchors.fill: parent
anchors.leftMargin: theme.controls.scrollbar.sliderPadding anchors.leftMargin: theme.controls.scrollBar.sliderPadding
anchors.rightMargin: anchors.leftMargin anchors.rightMargin: anchors.leftMargin
radius: theme.controls.scrollbar.sliderRadius radius: theme.controls.scrollBar.sliderRadius
color: color:
scrollBar.pressed ? theme.controls.scrollbar.pressedSlider : scrollBar.pressed ? theme.controls.scrollBar.pressedSlider :
sliderHover.hovered ? theme.controls.scrollbar.hoveredSlider : sliderHover.hovered ? theme.controls.scrollBar.hoveredSlider :
theme.controls.scrollbar.slider theme.controls.scrollBar.slider
Behavior on color { HColorAnimation {} } Behavior on color { HColorAnimation {} }

View File

@ -96,7 +96,7 @@ icons:
// Generic UI controls // Generic UI controls
controls: controls:
scrollbar: scrollBar:
int width: theme.spacing int width: theme.spacing
color track: colors.strongBackground color track: colors.strongBackground

View File

@ -99,7 +99,7 @@ icons:
// Generic UI controls // Generic UI controls
controls: controls:
scrollbar: scrollBar:
int width: theme.spacing int width: theme.spacing
color track: colors.strongBackground color track: colors.strongBackground