Found some more margins that wouldnt be fixed numbers and made the code more consistent

This commit is contained in:
Mark 2017-10-27 14:12:35 +02:00
parent 6c04a8be5d
commit 334283e893
8 changed files with 24 additions and 27 deletions

View file

@ -48,7 +48,7 @@ UM.PointingRectangle {
anchors {
left: parent.left
leftMargin: UM.Theme.getSize("default_margin").width / 2
leftMargin: Math.floor(UM.Theme.getSize("default_margin").width / 2)
verticalCenter: parent.verticalCenter
}
@ -90,7 +90,7 @@ UM.PointingRectangle {
anchors {
left: parent.right
leftMargin: UM.Theme.getSize("default_margin").width / 2
leftMargin: Math.floor(UM.Theme.getSize("default_margin").width / 2)
verticalCenter: parent.verticalCenter
}