Skip to content
Snippets Groups Projects
Commit ce22cbba authored by Andreas Traczyk's avatar Andreas Traczyk Committed by Ming Rui Zhang
Browse files

misc: use ScrollBar instead of ScrollIndicator for scroll areas

Interactive scroll areas with long lists should have a scroll bar
to grab in order to accelerate the scroll process.

Gitlab: #457
Change-Id: I24fe7d4f4f3cdda13432a6ac713bbe5bee5132f7
parent ba61d924
No related branches found
No related tags found
No related merge requests found
...@@ -46,6 +46,6 @@ Rectangle { ...@@ -46,6 +46,6 @@ Rectangle {
clip: true clip: true
maximumFlickVelocity: 1024 maximumFlickVelocity: 1024
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
} }
} }
...@@ -122,7 +122,7 @@ ComboBox { ...@@ -122,7 +122,7 @@ ComboBox {
model: root.delegateModel model: root.delegateModel
currentIndex: root.highlightedIndex currentIndex: root.highlightedIndex
ScrollIndicator.vertical: ScrollIndicator { } ScrollBar.vertical: ScrollBar { }
} }
background: Rectangle { background: Rectangle {
......
...@@ -67,7 +67,7 @@ Popup { ...@@ -67,7 +67,7 @@ Popup {
} }
} }
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
} }
// fake footer item as workaround for Qt 5.15 bug // fake footer item as workaround for Qt 5.15 bug
......
...@@ -461,7 +461,7 @@ Control { ...@@ -461,7 +461,7 @@ Control {
null null
delegate: buttonDelegate delegate: buttonDelegate
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
add: Transition { add: Transition {
NumberAnimation { NumberAnimation {
...@@ -491,7 +491,7 @@ Control { ...@@ -491,7 +491,7 @@ Control {
overflowButton.delegateModel : overflowButton.delegateModel :
null null
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
} }
background: Rectangle { background: Rectangle {
......
...@@ -254,7 +254,7 @@ ItemDelegate { ...@@ -254,7 +254,7 @@ ItemDelegate {
implicitWidth: menuItemWidth implicitWidth: menuItemWidth
implicitHeight: Math.min(contentHeight, menuItemHeight * 6) + 24 implicitHeight: Math.min(contentHeight, menuItemHeight * 6) + 24
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
clip: true clip: true
......
...@@ -38,7 +38,7 @@ ListView { ...@@ -38,7 +38,7 @@ ListView {
clip: true clip: true
maximumFlickVelocity: 1024 maximumFlickVelocity: 1024
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
// highlight selection // highlight selection
// down and hover states are done within the delegate // down and hover states are done within the delegate
......
...@@ -56,5 +56,5 @@ ListView { ...@@ -56,5 +56,5 @@ ListView {
clip: true clip: true
maximumFlickVelocity: 1024 maximumFlickVelocity: 1024
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
} }
...@@ -170,7 +170,7 @@ Popup { ...@@ -170,7 +170,7 @@ Popup {
} }
} }
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
} }
} }
} }
......
...@@ -172,7 +172,7 @@ Rectangle { ...@@ -172,7 +172,7 @@ Rectangle {
width: settingsViewRect.width width: settingsViewRect.width
maximumFlickVelocity: 1024 maximumFlickVelocity: 1024
ScrollIndicator.vertical: ScrollIndicator {} ScrollBar.vertical: ScrollBar { }
clip: true clip: true
contentHeight: rightSettingsStackLayout.height contentHeight: rightSettingsStackLayout.height
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment