From 3db5abbd3ac0d1561b03d9081ebda22c2d0d3518 Mon Sep 17 00:00:00 2001 From: Nino van Hooff Date: Tue, 29 Oct 2019 13:39:52 +0100 Subject: [PATCH] Move layer slider range handle label to below the vertical center CURA-6854 --- plugins/SimulationView/LayerSlider.qml | 9 ++++----- 1 file 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