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.
Menu item component after setting shortcut is much bigger in design time than in real life (preview or executed form). Check the screenshot. Steps to reproduce: - create jframe form - add menu bar - add menu item into File menu and change caption to "Open" and set CTRL+SHIFT+ALT+something - check the width of menu - now add sedonf menu item into File menu and change caption to "Save" - check the width of menu again Product Version: NetBeans IDE Dev (Build 070828) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
Created attachment 47627 [details] menu-width-in-designer.png
We can try to fix this with better hard coded adjustments, but there is no way to do it properly because the menu item api does not expose the size of the shortcut, or even the exact text used to render the shortcut (since it may use either the word for a modifier or a small symbol.)