Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.1
-
None
-
Ubuntu Linux 10.10 'Natty', Qt 4.7.1. Package qt4-x11 4:4.7.1-0ubuntu8
Description
Image.sourceSize's documentation states:
"If the image's actual size is larger than the sourceSize, the image is scaled down. If only one dimension of the size is set to greater than 0, the other dimension is set in proportion to preserve the source image's aspect ratio. (The fillMode is independent of this.)"
However setting the sourceSize to a value smaller than the image's actual size, the image is scaled up even though, according to the documentation, nothing should happen.