Change margins

Instead of using multiplications and divisions, just use the corresponding margins.

Contributes to CURA-5876.
This commit is contained in:
Diego Prado Gesto 2018-12-10 15:34:48 +01:00
parent aa376e60da
commit 1cd0d26db4
2 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ Button
id: contentColumn
width: parent.width
padding: UM.Theme.getSize("wide_margin").width
spacing: Math.round(UM.Theme.getSize("default_margin").height / 2)
spacing: UM.Theme.getSize("narrow_margin").height
Row
{