Move layer slider range handle label to below the vertical center

CURA-6854
This commit is contained in:
Nino van Hooff 2019-10-29 13:39:52 +01:00
parent ba766c3a19
commit 3db5abbd3a

View file

@ -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