equal
deleted
inserted
replaced
|
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 } |