mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Give tick marks a font
Otherwise it uses your system's font, which is not consistent. Contributes to issue CURA-6025.
This commit is contained in:
parent
44f21b37ac
commit
4be9fbb75e
2 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,7 @@ Item
|
|||
Label
|
||||
{
|
||||
text: index
|
||||
font: UM.Theme.getFont("default")
|
||||
visible: (index % 20) == 0 // Only show steps of 20%
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
y: UM.Theme.getSize("thin_margin").height
|
||||
|
|
|
@ -272,6 +272,7 @@ Item
|
|||
return Math.round((settingsColumnWidth / qualityModel.totalTicks) * index - (width / 2))
|
||||
}
|
||||
}
|
||||
font: UM.Theme.getFont("default")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue