mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 12:47:49 -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
|
Item
|
||||||
{
|
{
|
||||||
id: menu
|
id: menu
|
||||||
width: applicationMenu.width
|
width: parent.width
|
||||||
height: applicationMenu.height
|
height: applicationMenu.height
|
||||||
|
|
||||||
Component
|
Component
|
||||||
|
@ -46,12 +46,15 @@ Item
|
||||||
MenuBar
|
MenuBar
|
||||||
{
|
{
|
||||||
id: applicationMenu
|
id: applicationMenu
|
||||||
|
width: parent.width
|
||||||
delegate: menuBarComponent
|
delegate: menuBarComponent
|
||||||
FileMenu {}
|
FileMenu {}
|
||||||
|
|
||||||
EditMenu {}
|
EditMenu {}
|
||||||
ViewMenu {}
|
ViewMenu {}
|
||||||
|
|
||||||
|
background: Rectangle {}
|
||||||
|
|
||||||
SettingsMenu
|
SettingsMenu
|
||||||
{
|
{
|
||||||
//On MacOS, don't translate the "Settings" word.
|
//On MacOS, don't translate the "Settings" word.
|
||||||
|
@ -78,7 +81,7 @@ Item
|
||||||
// Definition of other components that are linked to the menus
|
// Definition of other components that are linked to the menus
|
||||||
// ###############################################################################################
|
// ###############################################################################################
|
||||||
|
|
||||||
/*WorkspaceSummaryDialog
|
WorkspaceSummaryDialog
|
||||||
{
|
{
|
||||||
id: saveWorkspaceDialog
|
id: saveWorkspaceDialog
|
||||||
property var args
|
property var args
|
||||||
|
@ -101,11 +104,6 @@ Item
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.ExtensionModel
|
|
||||||
{
|
|
||||||
id: curaExtensions
|
|
||||||
}
|
|
||||||
|
|
||||||
// ###############################################################################################
|
// ###############################################################################################
|
||||||
// Definition of all the connections
|
// Definition of all the connections
|
||||||
// ###############################################################################################
|
// ###############################################################################################
|
||||||
|
@ -141,5 +139,5 @@ Item
|
||||||
curaExtensions.callExtensionMethod("Toolbox", "launch")
|
curaExtensions.callExtensionMethod("Toolbox", "launch")
|
||||||
curaExtensions.callExtensionMethod("Toolbox", "setViewCategoryToMaterials")
|
curaExtensions.callExtensionMethod("Toolbox", "setViewCategoryToMaterials")
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue