diff options
author | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2015-07-29 15:47:23 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2015-07-29 15:17:23 +0000 |
commit | 50e9ef61c551ced6aea9505ee27ec66a27b55c33 (patch) | |
tree | 700636e6048bbfa491e3b86efd415253320b9ac5 /share | |
parent | 0aee8158c21985435189a96cc14bab74f11ed948 (diff) | |
download | qt-creator-50e9ef61c551ced6aea9505ee27ec66a27b55c33.tar.gz |
QmlDesigner: Enforce ScrollView to be non interactive
On some platforms the style reports touch support and
ScrollViews become flickable.
This is not what user expect from a "normal desktop" application.
Task-number: QTCREATORBUG-14818
Task-number: QTCREATORBUG-14822
Change-Id: Ie15fd66667dca1c0863a29e87ff76583d9aa3eee
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/qmldesigner/common/DesignerScrollViewStyle.qml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/common/DesignerScrollViewStyle.qml b/share/qtcreator/qmldesigner/common/DesignerScrollViewStyle.qml index 5bfd2c6183..634bd005ab 100644 --- a/share/qtcreator/qmldesigner/common/DesignerScrollViewStyle.qml +++ b/share/qtcreator/qmldesigner/common/DesignerScrollViewStyle.qml @@ -60,4 +60,8 @@ ScrollViewStyle { decrementControl: Item {} incrementControl: Item {} corner: Item {} + + //Even if the platform style reports touch support a scrollview should not be flickable. + Component.onCompleted: control.flickableItem.interactive = true + transientScrollBars: false } |