on xenial help sign in
make the moveResizeArea visible
9032632Michael Zanetti
tests/qmltests/Stages/tst_WindowMoveResizeArea.qml+11−2
@@ -34,9 +34,8 @@ Item {
34 Component {
34 Component {
35 id: fakeWindowComponent
35 id: fakeWindowComponent
36
36
37− Rectangle {
37+ Item {
38 id: fakeWindow
38 id: fakeWindow
39− color: "khaki"
40 property alias minWidth: moveResizeArea.minWidth
39 property alias minWidth: moveResizeArea.minWidth
41 property alias minHeight: moveResizeArea.minHeight
40 property alias minHeight: moveResizeArea.minHeight
42 x: units.gu(20)
41 x: units.gu(20)
@@ -52,6 +51,16 @@ Item {
52 minHeight: units.gu(10)
51 minHeight: units.gu(10)
53 windowId: "test-window-id"
52 windowId: "test-window-id"
54 }
53 }
54+
55+ Rectangle {
56+ anchors.fill: moveResizeArea
57+ color: "red"
58+ }
59+
60+ Rectangle {
61+ anchors.fill: fakeWindow
62+ color: "blue"
63+ }
55 }
64 }
56 }
65 }
57
66