Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.14.0
-
None
Description
Button{ id: button icon.name: "svg-image" icon.width: 24 icon.height: 12 } there is an svg image with size (24, 24). In application, the icon image size (24, 12) is demand, so we do it as above qml code. In qt5.13.0, it works perfectly and the icon is scale in height direction to (24, 12). But in qt5.14.0, the icon is scale in both (width and height) directions, and the image size is (12,12).
Attachments
Issue Links
- is duplicated by
-
QTBUG-81019 Regression: SVG images not scaled regardless of aspect ratio
- Closed
- relates to
-
QTBUG-81529 Make it possible to change the aspect ratio for a SVG based icon
- Reported
- resulted from
-
QTBUG-70256 When a viewbox is set along with a size for the SVG it is not rendered correctly
- Closed