aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickanchors/data/centerinRotation.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickanchors/data/centerinRotation.qml')
-rw-r--r--tests/auto/quick/qquickanchors/data/centerinRotation.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickanchors/data/centerinRotation.qml b/tests/auto/quick/qquickanchors/data/centerinRotation.qml
new file mode 100644
index 0000000000..933a25c100
--- /dev/null
+++ b/tests/auto/quick/qquickanchors/data/centerinRotation.qml
@@ -0,0 +1,17 @@
+import QtQuick 2.0
+
+Rectangle {
+ width: 200; height: 200
+ Rectangle {
+ objectName: "outer"
+ rotation: 90
+ width: 101; height: 101; color: "blue"
+ anchors.centerIn: parent;
+
+ Rectangle {
+ objectName: "inner"
+ width: 50; height: 50; color: "blue"
+ anchors.centerIn: parent;
+ }
+ }
+}