diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-12-09 05:12:17 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-12-09 05:12:17 (GMT) |
commit | 651b71feff5c703b2070e17b794e4744ec55f984 (patch) | |
tree | f70f8958f8cde5b7f34a33a888d94eb2d47e2514 /tests/auto/declarative/anchors/data/centerin.qml | |
parent | 611bd1247ff8254c567dc2c50573e84093dd8c5a (diff) | |
parent | 4bad9d6661f6b63c6ce9b9a29e9f5cf7aa032e37 (diff) | |
download | Qt-651b71feff5c703b2070e17b794e4744ec55f984.zip Qt-651b71feff5c703b2070e17b794e4744ec55f984.tar.gz Qt-651b71feff5c703b2070e17b794e4744ec55f984.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'tests/auto/declarative/anchors/data/centerin.qml')
-rw-r--r-- | tests/auto/declarative/anchors/data/centerin.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/declarative/anchors/data/centerin.qml b/tests/auto/declarative/anchors/data/centerin.qml new file mode 100644 index 0000000..09b97f6 --- /dev/null +++ b/tests/auto/declarative/anchors/data/centerin.qml @@ -0,0 +1,12 @@ +import Qt 4.6 + +Rectangle { + width: 200; height: 200 + Rectangle { + objectName: "centered" + width: 50; height: 50; color: "blue" + anchors.centerIn: parent; + anchors.verticalCenterOffset: 30 + anchors.horizontalCenterOffset: 10 + } +} |