summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2013-07-03 12:36:49 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-03 16:55:42 +0200
commitc9665f3e2d1eb12f1cc5a569c20f5d569fafde7f (patch)
tree34c5e8b1cf335f0017d2918fce21e9f69fbb4140
parent8f8deec53e32119a80b2ff5e8cad83cfd7e5776c (diff)
downloadqtquickcontrols-c9665f3e2d1eb12f1cc5a569c20f5d569fafde7f.tar.gz
Prevent stealing of mouse events from the slider handle
Otherwise it is impossible to add a slider to a horizontally oriented list view Change-Id: I241fb11f3eb1d9e55c4488330af2e1e839504f3d Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
-rw-r--r--src/controls/Slider.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml
index 64dcfff1..1faff3be 100644
--- a/src/controls/Slider.qml
+++ b/src/controls/Slider.qml
@@ -217,6 +217,8 @@ Control {
hoverEnabled: true
anchors.centerIn: parent
+ preventStealing: true
+
width: parent.width
height: parent.height