columnWidths

Defines the column widths.

Defines the column widths for this control. Enter the desired widths in px or as percentages separated by comma, e.g. "200px,15%,100px,150px".

You need to enter the widths for label and field separately, i.e. for a control with two columns you need to enter four values. For further details, see columns

Thus, "200px,15%,100px,150px" configures the following widths:

  • 200px for the label of the first column
  • 15% (of the total width) for the field of the first column
  • 100px for the label of the second column
  • 150px for the field of the second column

If you defined columns = 3 and enter only 4 values in columnWidths, the widths for the last column are calculated automatically.

Note: Settings for individual fields (Colspan, All Columns, No Label) do not alter the width calculation, i.e. in the example above the first column would still have 200px + 15%.