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:
authorNino van Hooff <ninovanhooff@gmail.com>2019-10-29 15:39:52 +0300
committerNino van Hooff <ninovanhooff@gmail.com>2019-10-29 15:39:52 +0300
commit3db5abbd3ac0d1561b03d9081ebda22c2d0d3518 (patch)
tree5f958d9bea0af61017fc0c30b98288f1f8394eba /plugins/SimulationView
parentba766c3a1935accef170e2174e2745bf905842a0 (diff)
Move layer slider range handle label to below the vertical center
CURA-6854
Diffstat (limited to 'plugins/SimulationView')
-rw-r--r--plugins/SimulationView/LayerSlider.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/SimulationView/LayerSlider.qml b/plugins/SimulationView/LayerSlider.qml
index c1be13c628..4ff959370c 100644
--- a/plugins/SimulationView/LayerSlider.qml
+++ b/plugins/SimulationView/LayerSlider.qml
@@ -161,11 +161,10 @@ Item
SimulationSliderLabel
{
id: rangleHandleLabel
-
- height: sliderRoot.handleSize + UM.Theme.getSize("default_margin").height
- x: parent.x - width - UM.Theme.getSize("default_margin").width
- anchors.verticalCenter: parent.verticalCenter
- target: Qt.point(sliderRoot.width, y + height / 2)
+ y: parent.height / 2
+ height: sliderRoot.handleSize + UM.Theme.getSize("small_margin").height
+ anchors.horizontalCenter: parent.horizontalCenter
+ target: Qt.point(parent.width / 2, y -100)
visible: sliderRoot.activeHandle == parent
// custom properties