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 - Avoid left margin on Jackpot menu items
Summary: Avoid left margin on Jackpot menu items
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Jackpot (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-19 01:00 UTC by Jesse Glick
Modified: 2005-12-20 00:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!