Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/SimulationView/SimulationSliderLabel.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SimulationView/SimulationSliderLabel.qml b/plugins/SimulationView/SimulationSliderLabel.qml
index 5245c5e92a..9b29ae1d02 100644
--- a/plugins/SimulationView/SimulationSliderLabel.qml
+++ b/plugins/SimulationView/SimulationSliderLabel.qml
@@ -55,6 +55,7 @@ UM.PointingRectangle {
alignWhenCentered: false
}
+ width: maxValueMetrics.width + UM.Theme.getSize("default_margin").width
text: sliderLabelRoot.value + startFrom // the current handle value, add 1 because layers is an array
horizontalAlignment: TextInput.AlignHCenter
@@ -66,8 +67,7 @@ UM.PointingRectangle {
textColor: UM.Theme.getColor("text")
font: UM.Theme.getFont("default")
renderType: Text.NativeRendering
- // valueLabel width
- background: Item { implicitWidth: maxValueMetrics.width + UM.Theme.getSize("default_margin").width }
+ background: Item { }
}
onEditingFinished: {