This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 70569

Summary: Avoid left margin on Jackpot menu items
Product: contrib Reporter: Jesse Glick <jglick>
Component: JackpotAssignee: issues@contrib <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2005-12-19 01:00:17 UTC
All the menu items in the Jackpot menu are indented as if to hold an icon, yet
there are no icons on any menu items on this menu. So should use

putValue("noIconInMenu", Boolean.TRUE)

in initialize() method of the SystemAction, or constructor of the Action (see
SA.iconResource Javadoc).
Comment 1 _ tball 2005-12-20 00:08:01 UTC
Not quite so simple for dynamic menus, as the dynamic menu has to use
Actions.connect() instead of normal Swing API for "noIconInMenu" to be checked.
 Apparently, Jackpot has the first dynamic menus which don't have icon spacing!