Use separate context menu size for menus

Instead of re-using the setting controls. It's not a setting.

Contributes to issue CURA-8688.
This commit is contained in:
Ghostkeeper 2022-02-15 16:09:18 +01:00
parent b9feac9816
commit 52ff67c1eb
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A
3 changed files with 6 additions and 4 deletions

View file

@ -14,12 +14,12 @@ UM.Menu
id: menu
padding: 0
implicitWidth: UM.Theme.getSize("setting_control").width
width: UM.Theme.getSize("context_menu").width
delegate: Cura.MenuItem {}
background: Rectangle
{
color: UM.Theme.getColor("setting_control")
border.color: UM.Theme.getColor("setting_control_border")
color: UM.Theme.getColor("main_background")
border.color: UM.Theme.getColor("lining")
}
}