mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Fix text jitter for the layer slider
CURA-6854
This commit is contained in:
parent
3e50cf5253
commit
4335acb19f
1 changed files with 4 additions and 2 deletions
|
@ -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 { }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue