summaryrefslogtreecommitdiff
path: root/src/controls/SplitView.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-09-13 22:04:52 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-16 09:47:44 +0200
commit64e15f94a5817b7c21652d78cd69fc0a5476131f (patch)
tree5fc36a28eb01edd7612147994d06bd5293c64c9a /src/controls/SplitView.qml
parent238291d3ea7408fa1b4c505e6c1ecd487b5762e4 (diff)
downloadqtquickcontrols-64e15f94a5817b7c21652d78cd69fc0a5476131f.tar.gz
SplitView: set handle's drag threshold to 0
Change-Id: Ia886da389edad61a9837c722836de0b6ff641443 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/SplitView.qml')
-rw-r--r--src/controls/SplitView.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/SplitView.qml b/src/controls/SplitView.qml
index a63a2d6f..795a1e18 100644
--- a/src/controls/SplitView.qml
+++ b/src/controls/SplitView.qml
@@ -397,6 +397,7 @@ Item {
anchors.topMargin: (parent.height <= 1) ? -2 : 0
anchors.bottomMargin: (parent.height <= 1) ? -2 : 0
hoverEnabled: true
+ drag.threshold: 0
drag.target: parent
drag.axis: root.orientation === Qt.Horizontal ? Drag.XAxis : Drag.YAxis
cursorShape: root.orientation === Qt.Horizontal ? Qt.SplitHCursor : Qt.SplitVCursor