0.34
Highlights
This release brings a complete rewrite of menu item layout with stable left margins, right aligned accelerators (as in Windows and macOS) and larger gap between text and accelerator. The text and accelerator are no longer layouted in "columns", which makes menu width smaller.
Also a new "underline" menu selection style is now available:
Can be enabled with:
UIManager.put( "MenuItem.selectionType", "underline" );
Change Log
- Menus: New menu item renderer brings stable left margins, right aligned
accelerators and larger gap between text and accelerator. This makes menus
look more modern and more similar to native platform menus. - New underline menu selection style that displays selected menu items similar
to tabs (to enable useUIManager.put( "MenuItem.selectionType", "underline" );
). - Menus: Fixed text color of selected menu items that use HTML. (issue #87)
- Menus: On Windows, pressing F10 now activates the menu bar without
showing a menu popup (as usual on Windows platform). On other platforms the
first menu popup is shown. - Menus: On Windows, releasing Alt key now activates the menu bar (as
usual on Windows platform). (issue #43) - Menus: Fixed inconsistent left padding in menu items. (issue #3)
- Menus: Fixed: Setting
iconTextGap
property on a menu item did increase left
and right margins. (issue #54) - Hide mnemonics if window is deactivated (e.g. Alt+Tab to another
window). (issue #43) - macOS: Enabled drop shadows for popup menus and combobox popups. (issue #94)
- macOS: Fixed NPE if using
JMenuBar
inJInternalFrame
and macOS screen menu
bar is enabled (with-Dapple.laf.useScreenMenuBar=true
). (issue #90)