diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-09-27 13:57:46 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-30 14:40:09 +0200 |
commit | df4fbe3bf0383903288883f6ea9df6566946f406 (patch) | |
tree | b501ace53988c09e06a7e4c1109bbe5016165ef9 /src/controls/Styles/Base/ScrollViewStyle.qml | |
parent | c1e06e3747b3fdb54f2a3913ef4d6ba0485dd3ed (diff) | |
download | qtquickcontrols-df4fbe3bf0383903288883f6ea9df6566946f406.tar.gz |
Enable flicking on touch based devices
The heuristic should probably be better but this will allow
ScrollView and TableView to at least support basic touch input.
Change-Id: I5904a0f2a29659e4cb0c3e7978ca0aa72d2415c4
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Styles/Base/ScrollViewStyle.qml')
-rw-r--r-- | src/controls/Styles/Base/ScrollViewStyle.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Styles/Base/ScrollViewStyle.qml b/src/controls/Styles/Base/ScrollViewStyle.qml index ed38302f..4c21af2d 100644 --- a/src/controls/Styles/Base/ScrollViewStyle.qml +++ b/src/controls/Styles/Base/ScrollViewStyle.qml @@ -73,7 +73,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: Qt.platform.os === "android" || Qt.platform.os === "ios" + property bool transientScrollBars: Settings.hasTouchScreen /*! This Component paints the frame around scroll bars. */ property Component frame: Rectangle { |