diff options
author | Nino van Hooff <ninovanhooff@gmail.com> | 2019-10-29 15:39:52 +0300 |
---|---|---|
committer | Nino van Hooff <ninovanhooff@gmail.com> | 2019-10-29 15:39:52 +0300 |
commit | 3db5abbd3ac0d1561b03d9081ebda22c2d0d3518 (patch) | |
tree | 5f958d9bea0af61017fc0c30b98288f1f8394eba /plugins/SimulationView | |
parent | ba766c3a1935accef170e2174e2745bf905842a0 (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.qml | 9 |
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 |