aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-07-11 11:21:44 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-07-11 11:21:16 +0000
commitc5617da5fd563e5bf1894a2b0303ae3ae835e20d (patch)
treebe1a50b6e339a253e5e9ab4625b20edc25a47935 /tests
parent3a7d3a8aa90e2b26a98eff1df0b93965976a699d (diff)
Drawer: fix dragMargin handling
Change-Id: I7549509aef9a88af7e6a449bae52da273b0253d0 Task-number: QTBUG-54629 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/drawer/data/applicationwindow.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/drawer/data/applicationwindow.qml b/tests/auto/drawer/data/applicationwindow.qml
index 9032ea0d..a8ae69ed 100644
--- a/tests/auto/drawer/data/applicationwindow.qml
+++ b/tests/auto/drawer/data/applicationwindow.qml
@@ -51,5 +51,12 @@ ApplicationWindow {
id: drawer
width: 200
height: 200
+
+ MouseArea {
+ // QTBUG-54629
+ anchors.fill: parent
+ anchors.margins: -Qt.styleHints.startDragDistance
+ Rectangle { color: "red"; opacity: 0.25; anchors.fill: parent }
+ }
}
}