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

Summary: Support for columnWeights, columnWidths, rowHeights, rowWeights fields of GridBagLayout
Product: guibuilder Reporter: Jan Stola <jstola>
Component: CodeAssignee: Jan Stola <jstola>
Status: RESOLVED FIXED    
Severity: normal Keywords: PLAN
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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