aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/rendernode/data/MessUpState.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/rendernode/data/MessUpState.qml')
-rw-r--r--tests/auto/quick/rendernode/data/MessUpState.qml15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/auto/quick/rendernode/data/MessUpState.qml b/tests/auto/quick/rendernode/data/MessUpState.qml
index b9c2a59446..84f32b7692 100644
--- a/tests/auto/quick/rendernode/data/MessUpState.qml
+++ b/tests/auto/quick/rendernode/data/MessUpState.qml
@@ -2,18 +2,19 @@ import QtQuick 2.0
import Test 1.0
Rectangle {
- width: 320
- height: 480
+ id: root
+ width: 160
+ height: 240
color: "black"
Rectangle {
- width: 320
- height: 240
+ width: root.width
+ height: root.height / 2;
anchors.centerIn: parent
clip: true
color: "white"
Rectangle {
- width: 160
- height: 240
+ width: root.width / 2;
+ height: root.height / 2
anchors.centerIn: parent
rotation: 45
color: "blue"
@@ -23,7 +24,7 @@ Rectangle {
}
Rectangle {
anchors.fill: parent
- anchors.margins: -50
+ anchors.margins: -100
color: "red"
opacity: 0.5
}