Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.14.0, 5.14.2, 5.15.6, 6.2.0
Description
Following will make rendered svg smaller by device pixel ratio (ie. at 2x will become half size):
Image {
source: "file.svg"
sourceSize: Qt.size(width,height)
}
Looks like it is evaluated before the final size is known, which is expected, so it sets it 0x0 initially. But after the image is loaded, the size reported by width and height properties seems to be half the expected size at 2x scale ratio.
Attachments
Issue Links
- relates to
-
QTBUG-58416 QtQuick Image: SVG Images are not properly scaled with High DPI Scaling
- Closed