mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 21:44:01 -06:00
Change Math.floor to Math.round as a last try to fix garbled fonts
CURA-4941
This commit is contained in:
parent
a792fc59eb
commit
b531c0550d
36 changed files with 213 additions and 213 deletions
|
@ -108,7 +108,7 @@ Item {
|
|||
id: label;
|
||||
|
||||
anchors.left: parent.left;
|
||||
anchors.leftMargin: doDepthIndentation ? Math.floor((UM.Theme.getSize("section_icon_column").width + 5) + ((definition.depth - 1) * UM.Theme.getSize("setting_control_depth_margin").width)) : 0
|
||||
anchors.leftMargin: doDepthIndentation ? Math.round((UM.Theme.getSize("section_icon_column").width + 5) + ((definition.depth - 1) * UM.Theme.getSize("setting_control_depth_margin").width)) : 0
|
||||
anchors.right: settingControls.left;
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
|
@ -128,12 +128,12 @@ Item {
|
|||
{
|
||||
id: settingControls
|
||||
|
||||
height: Math.floor(parent.height / 2)
|
||||
spacing: Math.floor(UM.Theme.getSize("sidebar_margin").height / 2)
|
||||
height: Math.round(parent.height / 2)
|
||||
spacing: Math.round(UM.Theme.getSize("sidebar_margin").height / 2)
|
||||
|
||||
anchors {
|
||||
right: controlContainer.left
|
||||
rightMargin: Math.floor(UM.Theme.getSize("sidebar_margin").width / 2)
|
||||
rightMargin: Math.round(UM.Theme.getSize("sidebar_margin").width / 2)
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue