summaryrefslogtreecommitdiffstats
path: root/examples/declarative/parallax/parallax.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/parallax/parallax.qml')
-rw-r--r--examples/declarative/parallax/parallax.qml49
1 files changed, 23 insertions, 26 deletions
diff --git a/examples/declarative/parallax/parallax.qml b/examples/declarative/parallax/parallax.qml
index 9adcfd7..b2139ec 100644
--- a/examples/declarative/parallax/parallax.qml
+++ b/examples/declarative/parallax/parallax.qml
@@ -9,37 +9,34 @@ Rectangle {
anchors.fill: parent
background: "pics/background.jpg"
- Row {
- Item {
- width: 320
- height: 480
-
- Clock {
- anchors.centerIn: parent
- }
+ Item {
+ width: 320
+ height: 480
+
+ Clock {
+ anchors.centerIn: parent
}
+ }
- Item {
- width: 320
- height: 480
+ Item {
+ width: 320
+ height: 480
- Smiley {}
- }
+ Smiley {}
+ }
- Item {
- width: 320
- height: 480
-
- Loader {
- anchors.centerIn: parent
- width: 300; height: 460
- clip: true
- resizeMode: Loader.SizeItemToLoader
-
- source: "../../../demos/declarative/samegame/samegame.qml"
- }
+ Item {
+ width: 320
+ height: 480
+
+ Loader {
+ anchors.centerIn: parent
+ width: 300; height: 460
+ clip: true
+ resizeMode: Loader.SizeItemToLoader
+
+ source: "../../../demos/declarative/samegame/samegame.qml"
}
-
}
}