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.
Created attachment 146332 [details] Compared toolbar button height The preferred toolbar height doesn't respect the toolbar insets. This leads to a smaller button height. The issue was introduced with NetBeans 7.3 - the relevant code is in org.openide.awt.ToolbarWithOverflow#getPreferredSize(). The insets are not respecte4d in the calculation of the height. height = Math.max( height, getOrientation() == HORIZONTAL ? comp.getPreferredSize().height : comp.getPreferredSize().width ); A possible quick fix is to replace the line above with the line below height = Math.max( height, (getOrientation() == HORIZONTAL ? comp.getPreferredSize().height : comp.getPreferredSize().width) + (insets == null ? 0 : insets.top + insets.bottom)); The bug is in NetBeans 7.3/7.4/8.0
core-main b7700134e7d9
Integrated into 'main-silver', will be available in build *201403300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/b7700134e7d9 User: S. Aubrecht <saubrecht@netbeans.org> Log: #243297 - add insets to toolbar height
transplanted to release80 branch as b4f5fa0d885c
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/b4f5fa0d885c User: S. Aubrecht <saubrecht@netbeans.org> Log: #243297 - add insets to toolbar height
looks ok on my system with 8.0 + patch1