summaryrefslogtreecommitdiffstats
path: root/examples/declarative/fillmode
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2009-08-10 23:01:14 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2009-08-10 23:01:14 (GMT)
commit2b9be8a7e00405626664dc9d21cd59e236b899a8 (patch)
treece8a8c6a9bef91f4aeecce27629adb50d09089e4 /examples/declarative/fillmode
parente3bb214199381bedf058fa797b514abc95142856 (diff)
downloadQt-2b9be8a7e00405626664dc9d21cd59e236b899a8.zip
Qt-2b9be8a7e00405626664dc9d21cd59e236b899a8.tar.gz
Qt-2b9be8a7e00405626664dc9d21cd59e236b899a8.tar.bz2
Clearer name for two PreserveAspect modes.
Diffstat (limited to 'examples/declarative/fillmode')
-rw-r--r--examples/declarative/fillmode/fillmode.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/declarative/fillmode/fillmode.qml b/examples/declarative/fillmode/fillmode.qml
index d5d6bb5..f2a87c8 100644
--- a/examples/declarative/fillmode/fillmode.qml
+++ b/examples/declarative/fillmode/fillmode.qml
@@ -10,11 +10,11 @@ Image {
SetPropertyAction { value: "Stretch" }
SetPropertyAction { target: Label; property: "text"; value: "Stretch" }
PauseAnimation { duration: 1000 }
- SetPropertyAction { value: "PreserveAspect" }
- SetPropertyAction { target: Label; property: "text"; value: "PreserveAspect" }
+ SetPropertyAction { value: "PreserveAspectFit" }
+ SetPropertyAction { target: Label; property: "text"; value: "PreserveAspectFit" }
PauseAnimation { duration: 1000 }
- SetPropertyAction { value: "PreserveAspectFill" }
- SetPropertyAction { target: Label; property: "text"; value: "PreserveAspectFill" }
+ SetPropertyAction { value: "PreserveAspectCrop" }
+ SetPropertyAction { target: Label; property: "text"; value: "PreserveAspectCrop" }
PauseAnimation { duration: 1000 }
SetPropertyAction { value: "Tile" }
SetPropertyAction { target: Label; property: "text"; value: "Tile" }