PanelGridOptions

A value shape that methods take or return.

Methods
None
Fields
7

Fields

FieldTypeDescription
stripedboolean?Shade every other row. Default true.
spacingXnumber?The horizontal gap (GridLayout's hgap). Default 10.
spacingYnumber?The vertical gap (vgap). Default 3.
minColWidthnumber?The narrowest a column may be; equal cells set both widths.
maxColWidthnumber?The widest a column may be.
minRowHeightnumber?The lowest a row may be.
equalColumnsboolean?Every column one width, (width - spacingX * (n - 1)) / n, half the width left over before the first column: GridLayout's equal cells. T…

Field details

equalColumns

equalColumns: boolean?

Every column one width, (width - spacingX * (n - 1)) / n, half the width left over before the first column: GridLayout's equal cells. Text that does not fit a cell ends in "...", as a squeezed Swing label's does. Differs: each row takes its own height (GridLayout gives every row the tallest cell's: set minRowHeight), and a fixed-size control wider than a cell (an image, a field with width) widens its column.