mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 06:23:15 +08:00
When the number of layers is less than 10, the width of the TextField
that shows the layer number in the LayerView is too small, so this commit adjusts the size.
This commit is contained in:
parent
29d1de03d1
commit
a7449ade87
@ -53,7 +53,7 @@ UM.PointingRectangle {
|
||||
verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
width: maximumValue.toString().length * 12 * screenScaleFactor
|
||||
width: (maximumValue.toString().length + 1) * 8 * screenScaleFactor
|
||||
text: sliderLabelRoot.value + startFrom // the current handle value, add 1 because layers is an array
|
||||
horizontalAlignment: TextInput.AlignRight
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user