mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ UM.PointingRectangle {
|
||||||
verticalCenter: parent.verticalCenter
|
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
|
text: sliderLabelRoot.value + startFrom // the current handle value, add 1 because layers is an array
|
||||||
horizontalAlignment: TextInput.AlignRight
|
horizontalAlignment: TextInput.AlignRight
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue