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:
Kai Uwe Broulik 2015-05-05 22:12:48 +02:00
parent dea859ee60
commit 01d7343642

View File

@ -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")
}
}
}