mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 01:55:57 +08:00
Correct size and margins for package icon
Contributes to issue CURA-8561.
This commit is contained in:
parent
bb51dc7d14
commit
e0508b0f4f
@ -24,10 +24,10 @@ Rectangle
|
|||||||
{
|
{
|
||||||
top: parent.top
|
top: parent.top
|
||||||
left: parent.left
|
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
|
width: UM.Theme.getSize("card_icon").width
|
||||||
height: UM.Theme.getSize("section_icon").height * 3
|
height: UM.Theme.getSize("card_icon").height
|
||||||
|
|
||||||
source: packageData.iconUrl != "" ? packageData.iconUrl : UM.Theme.getImage("CicleOutline")
|
source: packageData.iconUrl != "" ? packageData.iconUrl : UM.Theme.getImage("CicleOutline")
|
||||||
}
|
}
|
||||||
|
@ -553,7 +553,9 @@
|
|||||||
|
|
||||||
"standard_list_lineheight": [1.5, 1.5],
|
"standard_list_lineheight": [1.5, 1.5],
|
||||||
"standard_arrow": [1.0, 1.0],
|
"standard_arrow": [1.0, 1.0],
|
||||||
|
|
||||||
"card": [25.0, 8.75],
|
"card": [25.0, 8.75],
|
||||||
|
"card_icon": [6.0, 6.0],
|
||||||
|
|
||||||
"button": [4, 4],
|
"button": [4, 4],
|
||||||
"button_icon": [2.5, 2.5],
|
"button_icon": [2.5, 2.5],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user