mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Set material and nozzle selection menus to appear at bottom of button like drop downs.
CURA-9004
This commit is contained in:
parent
6cf7fae607
commit
a49aa6502c
1 changed files with 4 additions and 2 deletions
|
@ -285,10 +285,11 @@ Item
|
||||||
Cura.MaterialMenu
|
Cura.MaterialMenu
|
||||||
{
|
{
|
||||||
id: materialsMenu
|
id: materialsMenu
|
||||||
|
width: materialSelection.width
|
||||||
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||||
updateModels: materialSelection.visible
|
updateModels: materialSelection.visible
|
||||||
}
|
}
|
||||||
onClicked: materialsMenu.popup()
|
onClicked: materialsMenu.popup(0, height)
|
||||||
}
|
}
|
||||||
|
|
||||||
Item
|
Item
|
||||||
|
@ -341,8 +342,9 @@ Item
|
||||||
{
|
{
|
||||||
id: nozzlesMenu
|
id: nozzlesMenu
|
||||||
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||||
|
width: variantSelection.width
|
||||||
}
|
}
|
||||||
onClicked: nozzlesMenu.popup()
|
onClicked: nozzlesMenu.popup(0, height)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue