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 217584 - rightmost buttons in toolbar has no margin
Summary: rightmost buttons in toolbar has no margin
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Stanislav Aubrecht
Keywords: L&F
: 218243 220441 (view as bug list)
Depends on:
Reported: 2012-08-29 15:01 UTC by Tomas Mysik
Modified: 2012-10-25 13:40 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

screen shot (2.95 KB, image/png)
2012-08-29 15:01 UTC, Tomas Mysik

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2012-08-29 15:01:20 UTC
Created attachment 123708 [details]
screen shot

"Arrow" in toolbar has no margin - have a look at the screen shot.


Product Version: NetBeans IDE Dev (Build 20120827-9e8ac63b3514)
Java: 1.6.0_34; Java HotSpot(TM) 64-Bit Server VM 20.9-b04
System: Linux version 3.5.3-030503-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Stanislav Aubrecht 2012-09-04 09:29:08 UTC
Probably related to recent introduction of overflow toolbar - when running on Metal l&f the main toolbars are too short.
Comment 2 Stanislav Aubrecht 2012-09-13 08:20:03 UTC
*** Bug 218243 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Voskresensky 2012-09-13 09:39:06 UTC
All rightmost actions in toolbar has no space on right
Comment 4 Stanislav Aubrecht 2012-10-19 17:58:28 UTC
*** Bug 220441 has been marked as a duplicate of this bug. ***
Comment 5 Tomas Mysik 2012-10-22 04:19:03 UTC
Please, ensure that this issue is fixed for the final NB 7.3.

Thanks a lot.
Comment 6 Theofanis Oikonomou 2012-10-23 10:24:52 UTC
The issue seems to be with the way ToolbarContainer is calculating the preferred width.
Comment 7 Stanislav Aubrecht 2012-10-23 12:36:35 UTC
core-main 50b689ba83d2
Comment 8 Quality Engineering 2012-10-25 10:53:01 UTC
Integrated into 'main-golden', will be available in build *201210250921* on (upload may still be in progress)
User: S. Aubrecht <>
Log: #217584 - add toolbar's insets to its pref/min size
Comment 9 Michel Graciano 2012-10-25 13:40:12 UTC
v. Build 20121025-2fb84c03e244