Use theme sizes.

Contributes to CURA-5942.
This commit is contained in:
Diego Prado Gesto 2018-11-26 10:49:43 +01:00
parent 5b940b5242
commit 63fab9f038

View file

@ -71,8 +71,8 @@ Cura.ExpandableComponent
id: iconBackground
anchors.centerIn: parent
// Make it a bit bigger so there is an outline
width: parent.width + 2
height: parent.height + 2
width: parent.width + 2 * UM.Theme.getSize("default_lining").width
height: parent.height + 2 * UM.Theme.getSize("default_lining").height
radius: Math.round(width / 2)
color: UM.Theme.getColor("main_background")
z: parent.z - 1