examples/declarative/animation/basics/property-animation.qml
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
--- a/examples/declarative/animation/basics/property-animation.qml	Tue Jul 06 15:10:48 2010 +0300
+++ b/examples/declarative/animation/basics/property-animation.qml	Wed Aug 18 10:37:55 2010 +0300
@@ -65,7 +65,8 @@
     // The shadow for the smiley face
     Image {
         anchors.horizontalCenter: parent.horizontalCenter
-        source: "images/shadow.png"; y: smiley.minHeight + 58
+        y: smiley.minHeight + 58
+        source: "images/shadow.png"
 
         // The scale property depends on the y position of the smiley face.
         scale: smiley.y * 0.5 / (smiley.minHeight - smiley.maxHeight)
@@ -77,7 +78,8 @@
         property int minHeight: 2 * window.height / 3
 
         anchors.horizontalCenter: parent.horizontalCenter
-        source: "images/face-smile.png"; y: minHeight
+        y: minHeight
+        source: "images/face-smile.png"
 
         // Animate the y property. Setting loops to Animation.Infinite makes the
         // animation repeat indefinitely, otherwise it would only run once.