-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.0, 1.4.2, 5.0
-
generic, x86, sparc
-
generic, solaris_2.6, windows_xp
Name: krT82822 Date: 12/22/98
When a menu pops up - from a right-click, JMenuBar, or whatever, the individual items in the list should follow some basic alignment rules so that the
whole menu appears consistent.
- WinLF - Extra space is allocated along the left edge of the menu for the check/radio mark for any potentially present JCheckBoxMenuItem or
JRadioButtonMenuItem components even if there are none. By convention on Win32, the checkmark in a menu is actually a depressed button
representation of the menuitem's icon (if any), and it appears in the same 'column' as the icons for other non-check items.
If no icon is supplied by the JCheckBoxMenuItem, a default checkmark icon should be used. The text should be left aligned for the whole menu.
The accelerators (called 'shortcuts' in Win32) should also be left-aligned along the right side of the menu (bug #4113639) for the entire menu. This
should look and feel like a native Win32 application.
- JLF - Similar problems with WinLF: Wasted space, and text should line up.
- MotifLF - Slightly better than JLF/WinLF - less wasted space, but text is still not lined up between check (bug #4133790), radio, and regular items.
(Review ID: 48242)
======================================================================
- duplicates
-
JDK-4113639 Hotkey labels for menus should be left-aligned
- Closed
-
JDK-4907679 XP L&F: Menu appearance does not conform to native XP look with icons
- Closed
-
JDK-4992232 JMenuItem indenting rendered under a JMenu in odd
- Closed
-
JDK-4729669 1.4 REGRESSION: Text edge of different types of JMenuItems are not aligned
- Resolved
- relates to
-
JDK-6385366 REGRESSION: Descriptive text and accelerator text overlap on JMenuItem.
- Resolved
-
JDK-4991598 Win L&F: Icon glyph for radio button menu item is wrong in winxp L&F
- Resolved
(1 relates to)