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:
Ghostkeeper 2018-12-31 13:57:49 +01:00
parent 44f21b37ac
commit 4be9fbb75e
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -272,6 +272,7 @@ Item
return Math.round((settingsColumnWidth / qualityModel.totalTicks) * index - (width / 2))
}
}
font: UM.Theme.getFont("default")
}
}
}