diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-23 05:17:41 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-23 05:17:41 (GMT) |
commit | 3083b436bd3adc6280d3b7ebcb75358454cb9623 (patch) | |
tree | 0eb451db7cc183c126e19617faa26b12f8af3c51 /examples/declarative/aspectratio/scale_and_crop.qml | |
parent | 055fa76e7575be55899127de2d254e0f0e90a1db (diff) | |
parent | 39d728dd76efa10ca297b76ed08a5cd1c0235b3f (diff) | |
download | Qt-3083b436bd3adc6280d3b7ebcb75358454cb9623.zip Qt-3083b436bd3adc6280d3b7ebcb75358454cb9623.tar.gz Qt-3083b436bd3adc6280d3b7ebcb75358454cb9623.tar.bz2 |
Merge remote branch 'origin/master' into bearermanagement/staging
Diffstat (limited to 'examples/declarative/aspectratio/scale_and_crop.qml')
-rw-r--r-- | examples/declarative/aspectratio/scale_and_crop.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/declarative/aspectratio/scale_and_crop.qml b/examples/declarative/aspectratio/scale_and_crop.qml index 283e24b..2e2b6ed 100644 --- a/examples/declarative/aspectratio/scale_and_crop.qml +++ b/examples/declarative/aspectratio/scale_and_crop.qml @@ -12,6 +12,7 @@ Rectangle { Image { id: face smooth: true + anchors.centerIn: parent source: "pics/face.png" x: (parent.width-width*scale)/2 y: (parent.height-height*scale)/2 |