diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-12 02:48:43 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-12 02:48:43 (GMT) |
commit | ac6a991f0df2abd9a5cd449402edc108cfdbe67b (patch) | |
tree | 719b19999d8f8e0c6658966a03b1060055ebb307 /examples/declarative/snow | |
parent | 10408036279e8102c3dd2870a6c71280c43da614 (diff) | |
download | Qt-ac6a991f0df2abd9a5cd449402edc108cfdbe67b.zip Qt-ac6a991f0df2abd9a5cd449402edc108cfdbe67b.tar.gz Qt-ac6a991f0df2abd9a5cd449402edc108cfdbe67b.tar.bz2 |
Fix due to fillMode PreserveAspect -> PreserveAspectFit
Diffstat (limited to 'examples/declarative/snow')
-rw-r--r-- | examples/declarative/snow/ImageBatch.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/snow/ImageBatch.qml b/examples/declarative/snow/ImageBatch.qml index edf120e..1506943 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; fillMode: "PreserveAspect"; smooth: true; anchors.fill: parent; + Image { id: Image; source: url; fillMode: "PreserveAspectFit"; smooth: true; anchors.fill: parent; opacity: (status == 1)?1:0; opacity: Behavior { NumberAnimation { properties: "opacity" } } } Loading { anchors.centerIn: parent; visible: Image.status!=1 } |