aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/examples/tutorial.qdoc
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2012-02-14 11:57:25 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-14 08:50:57 +0100
commitd95178153a0f15991b2e6e91216dbcf5c0be2af3 (patch)
tree26f50195f44f8a5f3ac2757f157e6bfafb6286b6 /doc/src/examples/tutorial.qdoc
parent58d85747964473a71ca5339d296d6870f0871b0c (diff)
Preserve aspect ratio when setting Image.sourceSize
Setting both sourceSize.width and sourceSize.height results in changing the image aspect ratio. This is never what you'd want. Fit the image to the provided sourceSize, maintaining the aspect ratio. Task-number: QTBUG-21161 Change-Id: I77e9aacb8d31475d5df0aef1de52c0edbd1e2fc9 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
Diffstat (limited to 'doc/src/examples/tutorial.qdoc')
0 files changed, 0 insertions, 0 deletions