diff options
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r-- | plugins/SimulationView/SimulationSliderLabel.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SimulationView/SimulationSliderLabel.qml b/plugins/SimulationView/SimulationSliderLabel.qml index 41eea7aa9e..7474c287c2 100644 --- a/plugins/SimulationView/SimulationSliderLabel.qml +++ b/plugins/SimulationView/SimulationSliderLabel.qml @@ -49,7 +49,7 @@ UM.PointingRectangle { 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 horizontalAlignment: TextInput.AlignHCenter |