STRETCHMIN attribute

The STRETCHMIN attribute defines the minimum stretching width.

Syntax

STRETCHMIN[@screen-size] = min-width
where screen-size can be:
{ SMALL | MEDIUM | LARGE }
  1. screen-size is a screen size selector that indicates when the minimum stretch width must apply, depending on the size of the screen. Several STRETCHMIN@screen-size attributes can be used for the same element.
  2. min-width is an integer that defines the minimum width of the element. Default is the number of cells used by the item tag of the column.

Usage

The STRETCHMIN attribute specifies the minimum width for a TABLE/TREE column, when the STRETCH=X attribute is used by the element, or when the parent container defines the STRETCHCOLUMNS attribute.

By default, the minimum width is the number of cells used by the item tag in the LAYOUT section.

The STRETCHMIN attribute can be combined with the @screen-size selector, to get different stretch behaviors depending on the screen size.

Example

EDIT f01 = customer.cust_name, STRETCH=X,
   STRETCHMIN@MEDIUM=10, STRETCHMIN@LARGE=15;