diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-08-10 04:52:04 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-08-10 04:52:04 (GMT) |
commit | ede82d1abfeadf81a294bdb91eb932b36c437c03 (patch) | |
tree | 3663ce291684c778025d61b721f2a2621bcf9010 /examples/declarative | |
parent | 3ee9db1d892927522832b6bc8e1d806e27015bc4 (diff) | |
download | Qt-ede82d1abfeadf81a294bdb91eb932b36c437c03.zip Qt-ede82d1abfeadf81a294bdb91eb932b36c437c03.tar.gz Qt-ede82d1abfeadf81a294bdb91eb932b36c437c03.tar.bz2 |
Add a PreserveAspectFill mode (needs a better name)
Diffstat (limited to 'examples/declarative')
-rw-r--r-- | examples/declarative/fillmode/fillmode.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/declarative/fillmode/fillmode.qml b/examples/declarative/fillmode/fillmode.qml index 6bf1c12..d5d6bb5 100644 --- a/examples/declarative/fillmode/fillmode.qml +++ b/examples/declarative/fillmode/fillmode.qml @@ -13,6 +13,9 @@ Image { SetPropertyAction { value: "PreserveAspect" } SetPropertyAction { target: Label; property: "text"; value: "PreserveAspect" } PauseAnimation { duration: 1000 } + SetPropertyAction { value: "PreserveAspectFill" } + SetPropertyAction { target: Label; property: "text"; value: "PreserveAspectFill" } + PauseAnimation { duration: 1000 } SetPropertyAction { value: "Tile" } SetPropertyAction { target: Label; property: "text"; value: "Tile" } PauseAnimation { duration: 1000 } |