The third nested popup will now always try to stay withen the vertical space of the root materials popup.

See CURA-9522 for diagrams and more information.

CURA-9522
This commit is contained in:
Joey de l'Arago 2022-12-08 16:18:58 +01:00
parent 4e8e5c2bf0
commit 4f4d2431fa
2 changed files with 24 additions and 5 deletions

View file

@ -101,6 +101,7 @@ Cura.Menu
delegate: Cura.MaterialBrandMenu
{
materialTypesModel: model
rootHeight: materialMenu.height
}
onObjectAdded: function(index, object) { materialMenu.insertItem(index + 4, object)}
onObjectRemoved: function(index, object) { materialMenu.removeItem(index) }