continue layer slider labels - CURA-4412

This commit is contained in:
ChrisTerBeke 2017-10-09 14:19:21 +02:00
parent ee0dabd837
commit 5740af04bb
2 changed files with 77 additions and 86 deletions

View file

@ -186,8 +186,8 @@ Item {
height: sliderRoot.handleSize + UM.Theme.getSize("default_margin").height
// width is calculated automatically from the input field width
x: (sliderRoot.width / 2 - (parent.width / 2)) - width
y: Math.floor(parent.y + parent.height / 2 - height / 2)
x: parent.x - width // align with slider handle
y: parent.anchors.top - height // align with slider? handle
target: Qt.point(sliderRoot.width, parent.y + parent.height / 2)
visible: sliderRoot.layersVisible