labelGap

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

Type

Integer

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

Example

Slider1.labelVisible = true;
Slider1.labelGap = 10;

Either syntax below can be used in component script:

labelGap            // unqualified
Slider1.labelGap    // qualified

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