mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 14:39:02 +08:00
Fix spacing for menu
CURA-9012
This commit is contained in:
parent
d752f34b70
commit
91b6ceb951
@ -34,14 +34,16 @@ Item
|
|||||||
{
|
{
|
||||||
text: menuBarItem.text.replace(new RegExp("&([A-Za-z])"), function (match, character)
|
text: menuBarItem.text.replace(new RegExp("&([A-Za-z])"), function (match, character)
|
||||||
{
|
{
|
||||||
return `<u>${character}</u>`;
|
return `<u>${character}</u>`
|
||||||
})
|
})
|
||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
}
|
}
|
||||||
|
leftPadding: UM.Theme.getSize("default_margin").width
|
||||||
|
rightPadding: UM.Theme.getSize("default_margin").width
|
||||||
background: Rectangle
|
background: Rectangle
|
||||||
{
|
{
|
||||||
|
|
||||||
color: menuBarItem.highlighted ? UM.Theme.getColor("background_2") : "transparent"
|
color: menuBarItem.highlighted ? UM.Theme.getColor("background_2") : "transparent"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user