Adjust the slider label width a bit to look ok in macOS

This commit is contained in:
Diego Prado Gesto 2018-06-12 13:40:28 +02:00
parent 7cd0f57f22
commit b9a94a1025

View file

@ -53,7 +53,7 @@ UM.PointingRectangle {
verticalCenter: parent.verticalCenter
}
width: maximumValue.toString().length * 10 * screenScaleFactor
width: maximumValue.toString().length * 12 * screenScaleFactor
text: sliderLabelRoot.value + startFrom // the current handle value, add 1 because layers is an array
horizontalAlignment: TextInput.AlignRight