mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
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:
parent
ddb3ed1693
commit
25839c6d97
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue