diff options
Diffstat (limited to 'examples/declarative/mouseregion/mouse.qml')
-rw-r--r-- | examples/declarative/mouseregion/mouse.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/mouseregion/mouse.qml b/examples/declarative/mouseregion/mouse.qml index 0cb8bb9..18378ae 100644 --- a/examples/declarative/mouseregion/mouse.qml +++ b/examples/declarative/mouseregion/mouse.qml @@ -1,9 +1,9 @@ import Qt 4.6 -Rect { +Rectangle { color: "white" width: 200; height: 200 - Rect { + Rectangle { width: 50; height: 50 color: "red" Text { text: "Click"; anchors.centerIn: parent } @@ -19,7 +19,7 @@ Rect { anchors.fill: parent } } - Rect { + Rectangle { y: 100; width: 50; height: 50 color: "blue" Text { text: "Drag"; anchors.centerIn: parent } |