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

@ -128,12 +128,12 @@ Item {
{
id: settingControls
height: parent.height / 2
spacing: UM.Theme.getSize("sidebar_margin").height / 2
height: Math.floor(parent.height / 2)
spacing: Math.floor(UM.Theme.getSize("sidebar_margin").height / 2)
anchors {
right: controlContainer.left
rightMargin: UM.Theme.getSize("sidebar_margin").width / 2
rightMargin: Math.floor(UM.Theme.getSize("sidebar_margin").width / 2)
verticalCenter: parent.verticalCenter
}