From ba766c3a1935accef170e2174e2745bf905842a0 Mon Sep 17 00:00:00 2001 From: Nino van Hooff Date: Tue, 29 Oct 2019 13:23:43 +0100 Subject: [PATCH] Move lower layer slider handle label to the bottom CURA-6854 --- plugins/SimulationView/LayerSlider.qml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/SimulationView/LayerSlider.qml b/plugins/SimulationView/LayerSlider.qml index 6622272a38..c1be13c628 100644 --- a/plugins/SimulationView/LayerSlider.qml +++ b/plugins/SimulationView/LayerSlider.qml @@ -276,7 +276,6 @@ Item id: upperHandleLabel height: sliderRoot.handleSize + UM.Theme.getSize("small_margin").height - //x: parent.x anchors.bottom: parent.top anchors.bottomMargin: UM.Theme.getSize("narrow_margin").height anchors.horizontalCenter: parent.horizontalCenter @@ -386,10 +385,11 @@ Item { id: lowerHandleLabel - height: sliderRoot.handleSize + UM.Theme.getSize("default_margin").height - x: parent.x - parent.width - width - anchors.verticalCenter: parent.verticalCenter - target: Qt.point(sliderRoot.width + width, y + height / 2) + height: sliderRoot.handleSize + UM.Theme.getSize("small_margin").height + anchors.top: parent.bottom + anchors.topMargin: UM.Theme.getSize("narrow_margin").height + anchors.horizontalCenter: parent.horizontalCenter + target: Qt.point(parent.width / 2, parent.bottom) visible: sliderRoot.activeHandle == parent // custom properties