aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick2/qquickanchors/data/centerin.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick2/qquickanchors/data/centerin.qml')
-rw-r--r--tests/auto/qtquick2/qquickanchors/data/centerin.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickanchors/data/centerin.qml b/tests/auto/qtquick2/qquickanchors/data/centerin.qml
index e5f64f1e47..e6c9179116 100644
--- a/tests/auto/qtquick2/qquickanchors/data/centerin.qml
+++ b/tests/auto/qtquick2/qquickanchors/data/centerin.qml
@@ -9,4 +9,10 @@ Rectangle {
anchors.verticalCenterOffset: 30
anchors.horizontalCenterOffset: 10
}
+
+ Rectangle {
+ objectName: "centered2"
+ width: 11; height: 11; color: "green"
+ anchors.centerIn: parent;
+ }
}