Re-add anchors autotest for QtQuick 2.0.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qquickanchors / data / centerinRotation.qml
1 import QtQuick 2.0
2
3 Rectangle {
4     width: 200; height: 200
5     Rectangle {
6         objectName: "outer"
7         rotation: 90
8         width: 101; height: 101; color: "blue"
9         anchors.centerIn: parent;
10
11         Rectangle {
12             objectName: "inner"
13             width: 50; height: 50; color: "blue"
14             anchors.centerIn: parent;
15         }
16     }
17 }