2020-06-23 18:59:16 +00:00
|
|
|
import QtQuick 2.13
|
|
|
|
|
|
|
|
// Source: https://forum.qt.io/topic/52161/properly-scaling-svg-images/6
|
|
|
|
|
|
|
|
Image {
|
2020-09-04 02:30:53 +00:00
|
|
|
sourceSize: Qt.size(hiddenImg.sourceSize.width * 2, hiddenImg.sourceSize.height * 2)
|
2020-06-23 18:59:16 +00:00
|
|
|
Image {
|
|
|
|
id: hiddenImg
|
|
|
|
source: parent.source
|
|
|
|
width: 0
|
|
|
|
height: 0
|
|
|
|
}
|
2020-07-21 21:03:22 +00:00
|
|
|
}
|