Fix direction of pointing rectangle

Turns out that using anchors doesn't quite work anymore due to qt6 upgrade. Oh well!
CURA-9137
This commit is contained in:
Jaime van Kessel 2022-04-13 17:36:47 +02:00
parent ddb3ed1693
commit 25839c6d97
2 changed files with 3 additions and 3 deletions

View file

@ -266,7 +266,7 @@ Item
anchors.bottom: parent.top
anchors.bottomMargin: UM.Theme.getSize("narrow_margin").height
anchors.horizontalCenter: parent.horizontalCenter
target: Qt.point(parent.width / 2, parent.top)
target: Qt.point(parent.width / 2, 1)
visible: sliderRoot.activeHandle == parent || sliderRoot.activeHandle == rangeHandle
// custom properties
@ -376,7 +376,7 @@ Item
anchors.top: parent.bottom
anchors.topMargin: UM.Theme.getSize("narrow_margin").height
anchors.horizontalCenter: parent.horizontalCenter
target: Qt.point(parent.width / 2, parent.bottom)
target: Qt.point(parent.width / 2, -1)
visible: sliderRoot.activeHandle == parent || sliderRoot.activeHandle == rangeHandle
// custom properties

View file

@ -157,7 +157,7 @@ Item
anchors.topMargin: base.activeY
z: buttons.z - 1
target: Qt.point(parent.right, base.activeY + Math.round(UM.Theme.getSize("button").height/2))
target: Qt.point(-1, base.activeY + Math.round(UM.Theme.getSize("button").height / 2))
arrowSize: UM.Theme.getSize("default_arrow").width
width: