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

@ -225,7 +225,7 @@ Item
width: parent.width - 2 * UM.Theme.getSize("sidebar_margin").width;
height: UM.Theme.getSize("progressbar").height;
anchors.top: statusLabel.bottom;
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height / 4;
anchors.topMargin: Math.floor(UM.Theme.getSize("sidebar_margin").height / 4);
anchors.left: parent.left;
anchors.leftMargin: UM.Theme.getSize("sidebar_margin").width;
}