Fix rounding errors for garbled text

CURA-4941
This commit is contained in:
Mark 2018-02-09 11:30:56 +01:00
parent 183792ae09
commit 8fca183a5e
17 changed files with 76 additions and 76 deletions

View file

@ -91,7 +91,7 @@ Item
anchors.topMargin: base.activeY
z: buttons.z -1
target: Qt.point(parent.right, base.activeY + UM.Theme.getSize("button").height/2)
target: Qt.point(parent.right, base.activeY + Math.floor(UM.Theme.getSize("button").height/2))
arrowSize: UM.Theme.getSize("default_arrow").width
width: