Form specification files / Form item attributes |
The HEIGHT attribute defines an explicit height for a form element.
HEIGHT = integer [CHARACTERS|LINES|POINTS|PIXELS]
By default, the height of an element is defined by the size of the form item tag in a grid-based layout, or by the type of the form item in a stack-based layout. Use the HEIGHT attribute to define a specific height for a form item.
In a grid-based layout and stack-based layout, if you don't specify a size unit, it defaults to CHARACTERS, which defines a height based on the characters size in the current font.
For sizable items like IMAGE, the default height is defined by the number of lines of the form item tag in the layout, as a vertical character height. Overwrite this default by specifying the HEIGHT attribute.
For TABLE/TREE containers, the default height is defined by the number of lines used in the table layout. Overwrite the default by specifying the HEIGHT = x LINES attribute.
IMAGE img1: image1, WIDTH = 20, HEIGHT = 12;
For TABLE containers, the height of a list is defined by the actual number of rows, this cannot be changed.
For IMAGE items, by default the image is rendered full size, which means that the actual size of the image is used. Overwrite the default by specifying the HEIGHT attribute:
IMAGE image1, HEIGHT = 12, ...;
WEBCOMPONENT FORMONLY.chart, HEIGHT = 10, ...;
TEXTEDIT FORMONLY.comment, HEIGHT = 5, ...;