Add background to application menu

CURA-8683
This commit is contained in:
Jaime van Kessel 2022-01-11 11:16:40 +01:00
parent 6cde2d028b
commit 29c9322fc8

View file

@ -14,7 +14,7 @@ import "../Dialogs"
Item
{
id: menu
width: applicationMenu.width
width: parent.width
height: applicationMenu.height
Component
@ -46,12 +46,15 @@ Item
MenuBar
{
id: applicationMenu
width: parent.width
delegate: menuBarComponent
FileMenu {}
EditMenu {}
ViewMenu {}
background: Rectangle {}
SettingsMenu
{
//On MacOS, don't translate the "Settings" word.
@ -78,7 +81,7 @@ Item
// Definition of other components that are linked to the menus
// ###############################################################################################
/*WorkspaceSummaryDialog
WorkspaceSummaryDialog
{
id: saveWorkspaceDialog
property var args
@ -101,11 +104,6 @@ Item
}
}
UM.ExtensionModel
{
id: curaExtensions
}
// ###############################################################################################
// Definition of all the connections
// ###############################################################################################
@ -141,5 +139,5 @@ Item
curaExtensions.callExtensionMethod("Toolbox", "launch")
curaExtensions.callExtensionMethod("Toolbox", "setViewCategoryToMaterials")
}
}*/
}
}