mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08: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
@ -285,10 +285,11 @@ Item
|
||||
Cura.MaterialMenu
|
||||
{
|
||||
id: materialsMenu
|
||||
width: materialSelection.width
|
||||
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||
updateModels: materialSelection.visible
|
||||
}
|
||||
onClicked: materialsMenu.popup()
|
||||
onClicked: materialsMenu.popup(0, height)
|
||||
}
|
||||
|
||||
Item
|
||||
@ -341,8 +342,9 @@ Item
|
||||
{
|
||||
id: nozzlesMenu
|
||||
extruderIndex: Cura.ExtruderManager.activeExtruderIndex
|
||||
width: variantSelection.width
|
||||
}
|
||||
onClicked: nozzlesMenu.popup()
|
||||
onClicked: nozzlesMenu.popup(0, height)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user