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: | JRadioButton, JCheckBox default to zero spacing on MacOS | ||
---|---|---|---|
Product: | guibuilder | Reporter: | jalex000 <jalex000> |
Component: | Natural Layout | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
jalex000
2007-02-24 01:24:53 UTC
This is caused by the fact that we set the border and margin of checkboxes and radiobuttons to zero. The AquaLayoutStyle does not take this into account - it provides gap that would be fine for the default border/margin. We will consider to stop modifying the border/margin of radiobutons and checkboxes, however it makes the layout look a lot uglier on Windows. But modifying causes problems in other look and feels - e.g. this spacing issue in Aqua, or the focus rectangle issue on Metal (see issue 97255). So probably we should make sure that at least spacing is fixed for radiobuttons and checkboxes in their default config on Windows and give up on the proper parallel aligning. Meanwhile, a probably better workaround for you is to set border and margin properties to default, rather than trying to set explicit spaces between the components. BTW Issue 92617 is most likely caused by bug 46 in AquaLayoutStyle, just exposed due to setting the empty border to the checkboxes/radiobuttons. It can be fixed separately. Fixed with issue 74522 as described - don't set zero border and margin to checkboxes and radiobuttons anymore. *** This issue has been marked as a duplicate of 74522 *** |