summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <kde@privat.broulik.de>2015-05-05 21:54:41 +0200
committerKai Uwe Broulik <kde@privat.broulik.de>2015-05-11 14:52:08 +0000
commitf7b3f11b47768f47f625874c1bd45da4296c0f82 (patch)
treee4263add2d66564b6d60c3e9b77fd5e11a8d0321
parenta77c68048071233aff9b993ac2af50e392792e59 (diff)
downloadqtquickcontrols-f7b3f11b47768f47f625874c1bd45da4296c0f82.tar.gz
Default to non-transient scroll bars in non-mobile environments
A similar "fix" has been introduced for the scroll bar interactivity; also a platform style is free to override this property. Change-Id: I097b565ff27a3fbcea07134a9b358e066a51e980 Task-number: QTBUG-41591 Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
-rw-r--r--src/controls/Styles/Base/ScrollViewStyle.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Base/ScrollViewStyle.qml b/src/controls/Styles/Base/ScrollViewStyle.qml
index 4c2da1b5..091761ac 100644
--- a/src/controls/Styles/Base/ScrollViewStyle.qml
+++ b/src/controls/Styles/Base/ScrollViewStyle.qml
@@ -65,7 +65,7 @@ Style {
appear when the content is scrolled and disappear when they are no longer needed.
The default value is platform dependent. */
- property bool transientScrollBars: Settings.hasTouchScreen
+ property bool transientScrollBars: !Settings.isMobile && Settings.hasTouchScreen
/*! This Component paints the frame around scroll bars. */
property Component frame: Rectangle {