mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
Move lower layer slider handle label to the bottom
CURA-6854
This commit is contained in:
parent
e152529b5e
commit
ba766c3a19
1 changed files with 5 additions and 5 deletions
|
@ -276,7 +276,6 @@ Item
|
||||||
id: upperHandleLabel
|
id: upperHandleLabel
|
||||||
|
|
||||||
height: sliderRoot.handleSize + UM.Theme.getSize("small_margin").height
|
height: sliderRoot.handleSize + UM.Theme.getSize("small_margin").height
|
||||||
//x: parent.x
|
|
||||||
anchors.bottom: parent.top
|
anchors.bottom: parent.top
|
||||||
anchors.bottomMargin: UM.Theme.getSize("narrow_margin").height
|
anchors.bottomMargin: UM.Theme.getSize("narrow_margin").height
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
@ -386,10 +385,11 @@ Item
|
||||||
{
|
{
|
||||||
id: lowerHandleLabel
|
id: lowerHandleLabel
|
||||||
|
|
||||||
height: sliderRoot.handleSize + UM.Theme.getSize("default_margin").height
|
height: sliderRoot.handleSize + UM.Theme.getSize("small_margin").height
|
||||||
x: parent.x - parent.width - width
|
anchors.top: parent.bottom
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.topMargin: UM.Theme.getSize("narrow_margin").height
|
||||||
target: Qt.point(sliderRoot.width + width, y + height / 2)
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
target: Qt.point(parent.width / 2, parent.bottom)
|
||||||
visible: sliderRoot.activeHandle == parent
|
visible: sliderRoot.activeHandle == parent
|
||||||
|
|
||||||
// custom properties
|
// custom properties
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue