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.
Summary: | Extra space in menu when using javax.swing.Action | ||
---|---|---|---|
Product: | platform | Reporter: | jrojcek <jrojcek> |
Component: | Actions | Assignee: | Jiri Rechtacek <jrechtacek> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | jglick, phrebejk |
Priority: | P4 | Keywords: | UI |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
jrojcek
2004-07-21 13:50:17 UTC
It seems that when using javax.swing.Action instead of SystemAction the menu adds the extra speca automaticaly, even if the action has no Icon. Please evaluate It's true that o.o.a.Actions.MenuBridge.updateButtonIcon forces there to be an icon: button.setIcon(nonNullIcon(null)); I presume this is desirable in most circumstances since you do not want menu items fully left-aligned when other items in the same menu have icons. Not sure what, if any, fix is possible. This is surely not P3. The gap is in fact consistent with other menus, though useless in this case. Jano, is it still valid problem? Should be fixed? If not I'm going to close as WONTFIX. Thanks I don't see any extra spaces in a current dev build. Was this already fixed? (WONTFIX should only be used for acknowledged bugs that you simply do not plan to fix. If the issue existed but has since been fixed use FIXED. If you cannot confirm that the issue ever existed use WORKSFORME. If the bug report is missing information or just makes no sense use INVALID.) I believe this issue existed, but it seems to be fixed now. So FIXED? :-) Per Jano's request closed as FIXED. |