summaryrefslogtreecommitdiffstats
path: root/examples/declarative/parallax/parallax.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-30 05:10:20 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-30 05:10:20 (GMT)
commitb0c858dee261dec08dacd2c74671404f3229cb31 (patch)
tree91bc973369afd524338fe1a51bcd471584ffd916 /examples/declarative/parallax/parallax.qml
parentedc12380b662978a56622ed37f6e260b056646d3 (diff)
downloadQt-b0c858dee261dec08dacd2c74671404f3229cb31.zip
Qt-b0c858dee261dec08dacd2c74671404f3229cb31.tar.gz
Qt-b0c858dee261dec08dacd2c74671404f3229cb31.tar.bz2
small fixes to parallax example
Diffstat (limited to 'examples/declarative/parallax/parallax.qml')
-rw-r--r--examples/declarative/parallax/parallax.qml27
1 files changed, 7 insertions, 20 deletions
diff --git a/examples/declarative/parallax/parallax.qml b/examples/declarative/parallax/parallax.qml
index e3a7d93..b64f15f 100644
--- a/examples/declarative/parallax/parallax.qml
+++ b/examples/declarative/parallax/parallax.qml
@@ -4,8 +4,7 @@ import "../clocks/content"
Rectangle {
id: root
- width: 320
- height: 480
+ width: 320; height: 480
ParallaxView {
id: parallax
@@ -14,36 +13,24 @@ Rectangle {
Item {
property url icon: "pics/yast-wol.png"
- width: 320
- height: 480
-
+ width: 320; height: 480
Clock { anchors.centerIn: parent }
}
Item {
property url icon: "pics/home-page.svg"
-
- width: 320
- height: 480
-
- Smiley {}
+ width: 320; height: 480
+ Smiley { }
}
Item {
property url icon: "pics/yast-joystick.png"
-
- width: 320
- height: 480
+ width: 320; height: 480
Loader {
- anchors.top: parent.top
- anchors.topMargin: 10
- anchors.horizontalCenter: parent.horizontalCenter
-
+ anchors { top: parent.top; topMargin: 10; horizontalCenter: parent.horizontalCenter }
width: 300; height: 400
- clip: true
- resizeMode: Loader.SizeItemToLoader
-
+ clip: true; resizeMode: Loader.SizeItemToLoader
source: "../../../demos/declarative/samegame/samegame.qml"
}
}