diff options
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r-- | plugins/SimulationView/SimulationSliderLabel.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/SimulationView/SimulationSliderLabel.qml b/plugins/SimulationView/SimulationSliderLabel.qml index a241a50145..41eea7aa9e 100644 --- a/plugins/SimulationView/SimulationSliderLabel.qml +++ b/plugins/SimulationView/SimulationSliderLabel.qml @@ -46,6 +46,7 @@ UM.PointingRectangle { anchors { verticalCenter: parent.verticalCenter horizontalCenter: parent.horizontalCenter + alignWhenCentered: false } width: ((maximumValue + 1).toString().length + 1) * 8 * screenScaleFactor @@ -57,8 +58,9 @@ UM.PointingRectangle { Keys.onDownPressed: sliderLabelRoot.setValue(sliderLabelRoot.value - ((event.modifiers & Qt.ShiftModifier) ? 10 : 1)) style: TextFieldStyle { - textColor: UM.Theme.getColor("setting_control_text") - font: UM.Theme.getFont("small") + textColor: UM.Theme.getColor("text") + font: UM.Theme.getFont("default") + renderType: Text.NativeRendering background: Item { } } |