mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Let the simulation slider label scale on actual font size
CURA-6854
This commit is contained in:
parent
4613b62120
commit
7e3905059d
@ -49,7 +49,7 @@ UM.PointingRectangle {
|
|||||||
alignWhenCentered: false
|
alignWhenCentered: false
|
||||||
}
|
}
|
||||||
|
|
||||||
width: ((maximumValue + 1).toString().length + 1) * 8 * screenScaleFactor
|
width: ((maximumValue + 1).toString().length + 1) * UM.Theme.getFont("default").pixelSize
|
||||||
text: sliderLabelRoot.value + startFrom // the current handle value, add 1 because layers is an array
|
text: sliderLabelRoot.value + startFrom // the current handle value, add 1 because layers is an array
|
||||||
horizontalAlignment: TextInput.AlignHCenter
|
horizontalAlignment: TextInput.AlignHCenter
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user