diff options
author | Mark <mark.suurmond@gmail.com> | 2018-02-14 11:28:47 +0300 |
---|---|---|
committer | Mark <mark.suurmond@gmail.com> | 2018-02-14 11:28:47 +0300 |
commit | b531c0550de432415cd3d6fa0c2355975ea1a1ca (patch) | |
tree | b975b51de6bb0eb3f203aa473a7a1ce324fb1719 /plugins/MachineSettingsAction | |
parent | a792fc59eb63eaa70aaaaed1f679c18e698c734e (diff) |
Change Math.floor to Math.round as a last try to fix garbled fonts
CURA-4941
Diffstat (limited to 'plugins/MachineSettingsAction')
-rw-r--r-- | plugins/MachineSettingsAction/MachineSettingsAction.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MachineSettingsAction/MachineSettingsAction.qml b/plugins/MachineSettingsAction/MachineSettingsAction.qml index a905008932..016748b1bb 100644 --- a/plugins/MachineSettingsAction/MachineSettingsAction.qml +++ b/plugins/MachineSettingsAction/MachineSettingsAction.qml @@ -70,8 +70,8 @@ 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 labelColumnWidth: Math.floor(columnWidth / 2) + property real columnWidth: Math.round((width - 3 * UM.Theme.getSize("default_margin").width) / 2) + property real labelColumnWidth: Math.round(columnWidth / 2) Tab { |