mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:45:55 +08:00
Use theme sizes.
Contributes to CURA-5942.
This commit is contained in:
parent
5b940b5242
commit
63fab9f038
@ -71,8 +71,8 @@ Cura.ExpandableComponent
|
|||||||
id: iconBackground
|
id: iconBackground
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
// Make it a bit bigger so there is an outline
|
// Make it a bit bigger so there is an outline
|
||||||
width: parent.width + 2
|
width: parent.width + 2 * UM.Theme.getSize("default_lining").width
|
||||||
height: parent.height + 2
|
height: parent.height + 2 * UM.Theme.getSize("default_lining").height
|
||||||
radius: Math.round(width / 2)
|
radius: Math.round(width / 2)
|
||||||
color: UM.Theme.getColor("main_background")
|
color: UM.Theme.getColor("main_background")
|
||||||
z: parent.z - 1
|
z: parent.z - 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user