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.
[ BUILD # : 1aee2b7f8cad ] [ JDK VERSION : 1.6.23 ] Take a look at first and fourth icons, they have a wrong size which make the toolbar ugly.
Created attachment 104877 [details] Sample image
For some strange reason the icons are displayed like this when they do not fit into the window. When the window is resized, the icons are corrected.
It's not about the icon size. Their size is the same. It's about the *order* of methods that set properties on JButton! Do not ask me why this fix works: changeset: 186124:58d54592c9d9 http://hg.netbeans.org/main/rev/58d54592c9d9
Integrated into 'main-golden', will be available in build *201101130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/58d54592c9d9 User: mentlicher@netbeans.org Log: #194218 It's really unbelievable, but the order in which we call setMargin() and setBorder() *is* important. Always call setMargin() first!