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")
}

View File

@ -553,7 +553,9 @@
"standard_list_lineheight": [1.5, 1.5],
"standard_arrow": [1.0, 1.0],
"card": [25.0, 8.75],
"card_icon": [6.0, 6.0],
"button": [4, 4],
"button_icon": [2.5, 2.5],