diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-20 02:08:39 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-20 02:08:39 (GMT) |
commit | 341f47a31d6d98e402547c77ccbe358465f8b1a9 (patch) | |
tree | f17c2e0bb6b8f0bd10a355ae5b868f17b4782c8c /examples/declarative/aspectratio/scale_to_fit.qml | |
parent | b6f85c59d1cd45a4df57440b9d39659d2646223e (diff) | |
download | Qt-341f47a31d6d98e402547c77ccbe358465f8b1a9.zip Qt-341f47a31d6d98e402547c77ccbe358465f8b1a9.tar.gz Qt-341f47a31d6d98e402547c77ccbe358465f8b1a9.tar.bz2 |
Update in light of new Image.preserveAspect property
Diffstat (limited to 'examples/declarative/aspectratio/scale_to_fit.qml')
-rw-r--r-- | examples/declarative/aspectratio/scale_to_fit.qml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/declarative/aspectratio/scale_to_fit.qml b/examples/declarative/aspectratio/scale_to_fit.qml index 61a4082..867eb37 100644 --- a/examples/declarative/aspectratio/scale_to_fit.qml +++ b/examples/declarative/aspectratio/scale_to_fit.qml @@ -1,8 +1,5 @@ -// The Image primitive does not have any special handling for maintaining -// aspect ratio. This example shows that you can provide whatever specific -// behaviour you like. -// -// Here, we implement "Scale to Fit" behaviour. +// Here, we implement "Scale to Fit" behaviour "manually", rather +// than using the preserveAspect property. // Rect { // default size: whole image, unscaled |