diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2014-04-08 17:20:48 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-08 18:24:49 +0200 |
commit | 29c0dcc7707ecf43e36f83888866e6974b918010 (patch) | |
tree | d9df7e48c93fd68cee24cc9db3381bcfafaea6a4 /src/controls | |
parent | 619ae7b9d35187c5debbf8560c63f5e9b42d0eb2 (diff) | |
download | qtquickcontrols-29c0dcc7707ecf43e36f83888866e6974b918010.tar.gz qtquickcontrols-29c0dcc7707ecf43e36f83888866e6974b918010.tar.bz2 qtquickcontrols-29c0dcc7707ecf43e36f83888866e6974b918010.zip |
Fix ScrollView behavior when used in a Flickable
Setting preventStealing to true for the mouse areas allow
them to be used in a Flickable.
Task-number: QTBUG-37941
Change-Id: I72def1b60e84b4704827b8617095c7cc0370afb4
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls')
-rw-r--r-- | src/controls/Private/ScrollBar.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Private/ScrollBar.qml b/src/controls/Private/ScrollBar.qml index b96cd61d..82750412 100644 --- a/src/controls/Private/ScrollBar.qml +++ b/src/controls/Private/ScrollBar.qml @@ -103,7 +103,7 @@ Item { onMouseXChanged: if (!pressed) __panel.activeControl = __panel.hitTest(mouseX, mouseY) hoverEnabled: !Settings.hasTouchScreen enabled: !Settings.hasTouchScreen // TODO: touch on desktop? - + preventStealing: true property var pressedX property var pressedY property int oldPosition |