fix(StatusRoundedImage): ensure images are scaled and positioned properly
Closes #172
This commit is contained in:
parent
1a14f9ebe2
commit
5e127c7194
|
@ -26,9 +26,12 @@ Rectangle {
|
|||
|
||||
Image {
|
||||
id: image
|
||||
sourceSize.width: parent.implicitWidth
|
||||
sourceSize.height: parent.implicitHeight
|
||||
width: statusRoundImage.width
|
||||
height: statusRoundImage.height
|
||||
sourceSize.width: parent.width * 2
|
||||
sourceSize.height: parent.height * 2
|
||||
fillMode: Image.PreserveAspectFit
|
||||
anchors.centerIn: parent
|
||||
cache: true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue