diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-07-11 11:21:44 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-07-11 11:21:16 +0000 |
commit | c5617da5fd563e5bf1894a2b0303ae3ae835e20d (patch) | |
tree | be1a50b6e339a253e5e9ab4625b20edc25a47935 /tests/auto/drawer | |
parent | 3a7d3a8aa90e2b26a98eff1df0b93965976a699d (diff) |
Drawer: fix dragMargin handling
Change-Id: I7549509aef9a88af7e6a449bae52da273b0253d0
Task-number: QTBUG-54629
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/drawer')
-rw-r--r-- | tests/auto/drawer/data/applicationwindow.qml | 7 |
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 } + } } } |