diff --git a/CHANGELOG.md b/CHANGELOG.md index bcffb291..27aeb6db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ FlatLaf Change Log - Hide menu mnemonics by default and show them only when Alt 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`. diff --git a/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties b/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties index 8dc57f3f..e7505ba1 100644 --- a/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties +++ b/flatlaf-core/src/main/resources/com/formdev/flatlaf/FlatLaf.properties @@ -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 ----