You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently and in most other SWING L&Fs it is not possible to render the accelerator Icon in a JMenu if it is the TopLevelMenu (JMenu#isTopLevelMenu and FlatMenuItemRenderer#isTopLevelMenu).
But in some situations (I use a vertical JMenuBar with a mix of entries with and without sub-menus) it would be neat to have the possibility to show the accelerator icon even on the top level.
I previously worked around this situation, by defining the JMenus icon as the accelerator icon with a trailing/left icon position and a calculated icon gap (to align them). But because I now want to define a meaningful icon alongside the accelerator this is no longer possible.
Would be great to hear your opinion on this.
The text was updated successfully, but these errors were encountered:
Currently and in most other SWING L&Fs it is not possible to render the accelerator Icon in a JMenu if it is the TopLevelMenu (JMenu#isTopLevelMenu and FlatMenuItemRenderer#isTopLevelMenu).
But in some situations (I use a vertical JMenuBar with a mix of entries with and without sub-menus) it would be neat to have the possibility to show the accelerator icon even on the top level.
I previously worked around this situation, by defining the JMenus icon as the accelerator icon with a trailing/left icon position and a calculated icon gap (to align them). But because I now want to define a meaningful icon alongside the accelerator this is no longer possible.
Would be great to hear your opinion on this.
The text was updated successfully, but these errors were encountered: