Disable transient scrollbars
To improve accessibility and consistency with widget applications scroll bars no longer automatically hide after a timeout, which was the case when a touch screen was present, which is nice for tablets but bad for desktops. CHANGELOG: Scroll bars no longer automatically hide when a touch screen is present REVIEW: 123645 BUG: 347254
This commit is contained in:
parent
dea859ee60
commit
01d7343642
@ -29,6 +29,8 @@ 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)
|
||||
|
||||
transientScrollBars: false
|
||||
|
||||
frame: Item {
|
||||
PlasmaCore.Svg {
|
||||
id: borderSvg
|
||||
@ -180,4 +182,4 @@ QtQuickControlStyle.ScrollViewStyle {
|
||||
//new theme may be different
|
||||
onRepaintNeeded: arrowPresent = scrollbarSvg.hasElement("arrow-up")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user