mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 15:54:32 +08:00
Change default sizes of menu
CURA-8928
This commit is contained in:
parent
d88f7d4267
commit
beae4f28f7
@ -14,7 +14,7 @@ UM.Menu
|
||||
id: menu
|
||||
padding: 0
|
||||
|
||||
implicitWidth: UM.Theme.getSize("setting_control").width
|
||||
implicitWidth: UM.Theme.getSize("menu").width
|
||||
|
||||
delegate: Cura.MenuItem {}
|
||||
background: Rectangle
|
||||
|
@ -13,7 +13,8 @@ UM.MenuItem
|
||||
{
|
||||
id: menuItem
|
||||
|
||||
implicitHeight: UM.Theme.getSize("setting_control").height + UM.Theme.getSize("narrow_margin").height
|
||||
implicitHeight: UM.Theme.getSize("menu").height + UM.Theme.getSize("narrow_margin").height
|
||||
implicitWidth: UM.Theme.getSize("menu").width
|
||||
opacity: enabled ? 1.0 : 0.5
|
||||
|
||||
arrow: UM.RecolorImage
|
||||
|
@ -188,6 +188,8 @@
|
||||
"secondary": [240, 240, 240, 255],
|
||||
"secondary_shadow": [216, 216, 216, 255],
|
||||
|
||||
"text_lighter": [108, 108, 108, 255],
|
||||
|
||||
"icon": [8, 7, 63, 255],
|
||||
|
||||
"primary_button": [25, 110, 240, 255],
|
||||
@ -639,6 +641,7 @@
|
||||
"message_action_button": [0, 2.5],
|
||||
"message_image": [15.0, 10.0],
|
||||
"message_type_icon": [2, 2],
|
||||
"menu": [18, 2],
|
||||
|
||||
"infill_button_margin": [0.5, 0.5],
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user