parent
80975c80a2
commit
abe23c7f92
|
@ -46,5 +46,5 @@ Image {
|
|||
readonly property bool isError: status === Image.Error
|
||||
|
||||
fillMode: Image.PreserveAspectFit
|
||||
sourceSize: source.toString().endsWith(".svg") ? Qt.size(width, 0) : Qt.size(width * Screen.devicePixelRatio, 0)
|
||||
sourceSize: source.toString().endsWith(".svg") ? Qt.size(width, 0) : Qt.size(width * Screen.devicePixelRatio, height * Screen.devicePixelRatio)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue