Round fractional widths and heights in system-themed qml

This commit is contained in:
fieldOfView 2017-07-14 12:51:20 +02:00
parent 82ff9dfe1b
commit b5d7ec5bd2
15 changed files with 92 additions and 92 deletions

View file

@ -70,7 +70,7 @@ Cura.MachineAction
anchors.top: pageTitle.bottom
anchors.topMargin: UM.Theme.getSize("default_margin").height
property real columnWidth: Math.floor((width - 3 * UM.Theme.getSize("default_margin").width) / 2)
property real columnWidth: ((width - 3 * UM.Theme.getSize("default_margin").width) / 2) | 0
Tab
{