Skip to content

Commit

Permalink
Fix menuitem spacing when there is a shortcut or submenu chevron
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldOfView committed Mar 24, 2022
1 parent adb79f1 commit 1fb00e1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions UM/Qt/qml/UM/MenuItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ MenuItem
Layout.fillWidth: true
}

Item
{
// Right side margin
width: UM.Theme.getSize("default_margin").width
visible: _shortcut.nativeText != "" || root.subMenu
}

UM.Label
{
Layout.fillHeight: true
Expand Down

0 comments on commit 1fb00e1

Please sign in to comment.