summaryrefslogtreecommitdiffstats
path: root/examples/declarative/snow
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-07-31 05:10:39 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-07-31 05:10:39 (GMT)
commit1af063d9aaff5d0e5e8715202baeced55bbbb0bc (patch)
tree07f350fce0def816328a9dca23f7801bd40d4d7d /examples/declarative/snow
parent510b9523339d97b8b52175ddb5a21bff706b3d7c (diff)
downloadQt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.zip
Qt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.tar.gz
Qt-1af063d9aaff5d0e5e8715202baeced55bbbb0bc.tar.bz2
tile/preservseAspect are now fillMode
as per API review
Diffstat (limited to 'examples/declarative/snow')
-rw-r--r--examples/declarative/snow/ImageBatch.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml
index 77bacab..bac4328 100644
--- a/examples/declarative/snow/ImageBatch.qml
+++ b/examples/declarative/snow/ImageBatch.qml
@@ -41,7 +41,7 @@ GridView {
transformOrigin: "Center"
width: MyGrid.imageWidth; height: MyGrid.imageHeight;
- Image { id: Image; source: url; preserveAspect: true; smooth: true; anchors.fill: parent;
+ Image { id: Image; source: url; fillMode: "PreserveAspect"; smooth: true; anchors.fill: parent;
opacity: (status == 0)?1:0; opacity: Behavior { NumberAnimation { properties: "opacity" } } }
Loading { anchors.centeredIn: parent; visible: Image.status }