Menu: fixed vertical alignment of sub-menus (issue #42)

This commit is contained in:
Karl Tauber
2020-01-17 01:01:30 +01:00
parent 8021f1a7fc
commit f550f84acd
2 changed files with 3 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ FlatLaf Change Log
- Hide menu mnemonics by default and show them only when <kbd>Alt</kbd> key is
pressed. (issue #43)
- Menu: Fixed vertical alignment of sub-menus. (issue #42)
- TabbedPane: In scroll-tab-layout, the cropped line is now hidden. (issue #40)
- Tree: UI default value `Tree.textBackground` now has a valid color and is no
longer `null`.

View File

@@ -215,6 +215,8 @@ List.dropLineColor=@dropLineColor
Menu.border=com.formdev.flatlaf.ui.FlatMarginBorder
Menu.arrowIcon=com.formdev.flatlaf.icons.FlatMenuArrowIcon
Menu.margin=2,2,2,2
Menu.submenuPopupOffsetX={scaledInteger}-4
Menu.submenuPopupOffsetY={scaledInteger}-1
#---- MenuBar ----