mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-01 08:14:22 +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
|
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…
x
Reference in New Issue
Block a user