tests/auto/declarative/qdeclarativeanchors/data/centerin.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 
       
     3 Rectangle {
       
     4     width: 200; height: 200
       
     5     Rectangle {
       
     6         objectName: "centered"
       
     7         width: 50; height: 50; color: "blue"
       
     8         anchors.centerIn: parent;
       
     9         anchors.verticalCenterOffset: 30
       
    10         anchors.horizontalCenterOffset: 10
       
    11     }
       
    12 }