examples/declarative/ui-components/flipable/content/Card.qml
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
--- a/examples/declarative/ui-components/flipable/content/Card.qml	Tue Jul 06 15:10:48 2010 +0300
+++ b/examples/declarative/ui-components/flipable/content/Card.qml	Wed Aug 18 10:37:55 2010 +0300
@@ -49,11 +49,13 @@
     property int yAxis: 0
     property int angle: 0
 
-    width: front.width; height: front.height; state: "back"
+    width: front.width; height: front.height 
 
     front: Image { id: frontImage; smooth: true }
     back: Image { source: "back.png"; smooth: true }
 
+    state: "back"
+
     MouseArea { anchors.fill: parent; onClicked: container.flipped = !container.flipped }
 
     transform: Rotation {