mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Let the simulation slider label scale on actual font size
CURA-6854
This commit is contained in:
parent
4613b62120
commit
7e3905059d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue