MINWIDTH attribute

The MINWIDTH attribute defines the minimum width of a form.

Syntax

MINWIDTH = integer 
  1. integer defines the minimum width of the element, as a number of grid cells.

Usage

The MINWIDTH attribute is used to define a minimum width for the form/window. It must be specified in the attributes of the LAYOUT section.

When using the GBC (with Universal Rendering or the GAS), on LAYOUT element, the MINWIDTH and MINHEIGHT attributes apply only to windows created with the windowType style attribute set to "modal": Since regular windows share the same window container, defining a common, minimum window size is not possible.

The unit defaults to a number of grid cells. This is the equivalent of the CHARACTERS in the WIDTH attribute specification. For more details about grid cells, see Widget position and size in grid

Example

LAYOUT ( MINWIDTH=60, MINHEIGHT=50 )
GRID
  ...