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
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 {} }

View File

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

View File

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