Take QApplication::wheelScrollLines into account from ScrollView
This is adaptation of https://codereview.qt-project.org/#/c/109615/ for Plasma style. REVIEW: 125889
This commit is contained in:
parent
ae4ba8920e
commit
f32677b8e0
@ -30,6 +30,9 @@ QtQuickControlStyle.ScrollViewStyle {
|
||||
|
||||
property real widthHint: Math.round( (scrollbarSvg.hasElement("hint-scrollbar-size") ? scrollbarSvg.elementSize("hint-scrollbar-size").width : scrollbarSvg.elementSize("arrow-up").width) * units.devicePixelRatio)
|
||||
|
||||
property StyleItem __styleitem: StyleItem { elementType: "frame" }
|
||||
readonly property int __wheelScrollLines: __styleitem.styleHint("wheelScrollLines")
|
||||
|
||||
transientScrollBars: Settings.hasTouchScreen && Settings.isMobile
|
||||
|
||||
function syncVelocity() {
|
||||
|
Loading…
Reference in New Issue
Block a user