Browse Source

Fixed missing left side padding on menuitems without icon.

pull/127/head
weisj 5 years ago
parent
commit
ad4e43edbc
  1. 1
      core/src/main/resources/com/github/weisj/darklaf/properties/ui/menu.properties
  2. 3
      core/src/main/resources/com/github/weisj/darklaf/properties/ui/menuItem.properties

1
core/src/main/resources/com/github/weisj/darklaf/properties/ui/menu.properties

@ -34,4 +34,3 @@ Menu.background = %background
#Icons #Icons
Menu.arrowIcon = navigation/arrowRight.svg[themed] Menu.arrowIcon = navigation/arrowRight.svg[themed]
Menu.checkIcon = empty(0,0)

3
core/src/main/resources/com/github/weisj/darklaf/properties/ui/menuItem.properties

@ -49,7 +49,8 @@ CheckBoxMenuItem.doNotCloseOnMouseClick = true
#Icons #Icons
MenuItem.arrowIcon = navigation/arrowRight.svg[themed] MenuItem.arrowIcon = navigation/arrowRight.svg[themed]
MenuItem.arrowHover.icon = navigation/arrowRightHover.svg[themed] MenuItem.arrowHover.icon = navigation/arrowRightHover.svg[themed]
MenuItem.checkIcon = empty(0,0)
RadioButtonMenuItem.arrowIcon = empty(16,16) RadioButtonMenuItem.arrowIcon = empty(16,16)
MenuItem.checkIcon = empty(7,7)
Menu.checkIcon = empty(7,7)
CheckBoxMenuItem.checkIcon = empty(19,19) CheckBoxMenuItem.checkIcon = empty(19,19)
RadioButtonMenuItem.checkIcon = empty(19,19) RadioButtonMenuItem.checkIcon = empty(19,19)

Loading…
Cancel
Save