mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-14 12:35:23 +02:00
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
This commit is contained in:
parent
ba61d924fc
commit
ce22cbbabe
9 changed files with 10 additions and 10 deletions
|
@ -46,6 +46,6 @@ Rectangle {
|
|||
clip: true
|
||||
maximumFlickVelocity: 1024
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@ ComboBox {
|
|||
model: root.delegateModel
|
||||
currentIndex: root.highlightedIndex
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator { }
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
|
|
|
@ -67,7 +67,7 @@ Popup {
|
|||
}
|
||||
}
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
}
|
||||
|
||||
// fake footer item as workaround for Qt 5.15 bug
|
||||
|
|
|
@ -461,7 +461,7 @@ Control {
|
|||
null
|
||||
|
||||
delegate: buttonDelegate
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
|
||||
add: Transition {
|
||||
NumberAnimation {
|
||||
|
@ -491,7 +491,7 @@ Control {
|
|||
overflowButton.delegateModel :
|
||||
null
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
}
|
||||
|
||||
background: Rectangle {
|
||||
|
|
|
@ -254,7 +254,7 @@ ItemDelegate {
|
|||
implicitWidth: menuItemWidth
|
||||
implicitHeight: Math.min(contentHeight, menuItemHeight * 6) + 24
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
|
||||
clip: true
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ ListView {
|
|||
|
||||
clip: true
|
||||
maximumFlickVelocity: 1024
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
|
||||
// highlight selection
|
||||
// down and hover states are done within the delegate
|
||||
|
|
|
@ -56,5 +56,5 @@ ListView {
|
|||
|
||||
clip: true
|
||||
maximumFlickVelocity: 1024
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
}
|
||||
|
|
|
@ -170,7 +170,7 @@ Popup {
|
|||
}
|
||||
}
|
||||
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -172,7 +172,7 @@ Rectangle {
|
|||
width: settingsViewRect.width
|
||||
|
||||
maximumFlickVelocity: 1024
|
||||
ScrollIndicator.vertical: ScrollIndicator {}
|
||||
ScrollBar.vertical: ScrollBar { }
|
||||
|
||||
clip: true
|
||||
contentHeight: rightSettingsStackLayout.height
|
||||
|
|
Loading…
Add table
Reference in a new issue