labelGap

Specifies the gap in pixels between the TextInput component and its label. See TextInput Properties for information on the ‘Gap (px)’ option.

Type

Integer

Gap in pixels between the component and the label (default: 5)

Example

TextInput1.labelVisible = true;
TextInput1.labelGap = 10;

Either syntax below can be used in component script:

labelGap               // unqualified
TextInput1.labelGap    // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.