mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08: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
@ -141,6 +141,7 @@ Item
|
|||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: index
|
text: index
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
visible: (index % 20) == 0 // Only show steps of 20%
|
visible: (index % 20) == 0 // Only show steps of 20%
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
y: UM.Theme.getSize("thin_margin").height
|
y: UM.Theme.getSize("thin_margin").height
|
||||||
|
@ -272,6 +272,7 @@ Item
|
|||||||
return Math.round((settingsColumnWidth / qualityModel.totalTicks) * index - (width / 2))
|
return Math.round((settingsColumnWidth / qualityModel.totalTicks) * index - (width / 2))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
font: UM.Theme.getFont("default")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user