diff options
Diffstat (limited to 'tests/auto/qtquick2/qquickanchors/data/centerinRotation.qml')
-rw-r--r-- | tests/auto/qtquick2/qquickanchors/data/centerinRotation.qml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquickanchors/data/centerinRotation.qml b/tests/auto/qtquick2/qquickanchors/data/centerinRotation.qml new file mode 100644 index 0000000000..933a25c100 --- /dev/null +++ b/tests/auto/qtquick2/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; + } + } +} |