From 29c9322fc8068d0cf09a0fd00bc42b15f119f00e Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 11 Jan 2022 11:16:40 +0100 Subject: [PATCH] Add background to application menu CURA-8683 --- resources/qml/MainWindow/ApplicationMenu.qml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/resources/qml/MainWindow/ApplicationMenu.qml b/resources/qml/MainWindow/ApplicationMenu.qml index 7d52a1c588..20a7e774f9 100644 --- a/resources/qml/MainWindow/ApplicationMenu.qml +++ b/resources/qml/MainWindow/ApplicationMenu.qml @@ -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") } - }*/ + } } \ No newline at end of file