Correct size and margins for package icon

Contributes to issue CURA-8561.
This commit is contained in:
Ghostkeeper 2021-11-09 15:08:33 +01:00
parent bb51dc7d14
commit e0508b0f4f
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF
2 changed files with 5 additions and 3 deletions

View file

@ -24,10 +24,10 @@ Rectangle
{
top: parent.top
left: parent.left
margins: UM.Theme.getSize("thin_margin").width
margins: UM.Theme.getSize("default_margin").width
}
width: UM.Theme.getSize("section_icon").width * 3
height: UM.Theme.getSize("section_icon").height * 3
width: UM.Theme.getSize("card_icon").width
height: UM.Theme.getSize("card_icon").height
source: packageData.iconUrl != "" ? packageData.iconUrl : UM.Theme.getImage("CicleOutline")
}