diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-02-14 11:57:25 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-14 08:50:57 +0100 |
commit | d95178153a0f15991b2e6e91216dbcf5c0be2af3 (patch) | |
tree | 26f50195f44f8a5f3ac2757f157e6bfafb6286b6 /doc/src/declarative/animation.qdoc | |
parent | 58d85747964473a71ca5339d296d6870f0871b0c (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/declarative/animation.qdoc')
0 files changed, 0 insertions, 0 deletions