diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-03-17 07:10:56 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2011-03-17 07:17:43 (GMT) |
commit | 695a39410c8ce186a2ce78cef51093c55fc32643 (patch) | |
tree | b33d7c5f1f0e24b1180fcbdb989a47e38f825868 /src/declarative/graphicsitems/qdeclarativepainteditem_p_p.h | |
parent | cb0b93e3ef107b8a47445c926753b6bcf07b796d (diff) | |
download | Qt-695a39410c8ce186a2ce78cef51093c55fc32643.zip Qt-695a39410c8ce186a2ce78cef51093c55fc32643.tar.gz Qt-695a39410c8ce186a2ce78cef51093c55fc32643.tar.bz2 |
Image.PreserveAspectFit has unexpected effect on Image's sourceSize
The sourceSize should always be the size of the image, unless set
otherwise. When calculating the size of an image with
Image.PreserveAspectFit set the natural image size should be used
for the calculation if no size has been set explicitly.
Change-Id: I104b7d1c3c16aa5b4fc98b1f9078ed8ae997cf69
Task-number: QTBUG-16389
Reviewed-by: Joona Petrell
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepainteditem_p_p.h')
0 files changed, 0 insertions, 0 deletions