mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 12:17:50 -06:00
Add background to application menu
CURA-8683
This commit is contained in:
parent
6cde2d028b
commit
29c9322fc8
1 changed files with 6 additions and 8 deletions
|
@ -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")
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue