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 198427 - Support for columnWeights, columnWidths, rowHeights, rowWeights fields of GridBagLayout
Summary: Support for columnWeights, columnWidths, rowHeights, rowWeights fields of Gri...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2011-05-08 11:17 UTC by Jan Stola
Modified: 2011-07-20 12:35 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stola 2011-05-08 11:17:20 UTC
GridBagLayout allows to override column/row weights, column minimum widths and row minimum heights though columnWeights, columnWidths, rowHeights, rowWeights fields. Unfortunately, it is not possible to set these fields in NetBeans GUI builder.

columnWidths and rowHeights allow to build non-degenerated empty columns/rows that can serve as gaps between components.

columnWeights and rowWeights provide a better control over the resizing of the layout (which is otherwise based on hazy implementation burried in the depths of GridBagLayout).
Comment 1 Jan Stola 2011-05-25 14:39:16 UTC
Implemented.

Modified files: http://hg.netbeans.org/jet-main/rev/09b70224b38c