setTextPadding

[ Function ]

public setTextPadding(newValue: TcHmi.FourSidedCss | null): void;

This function sets a new value for the TextPadding attribute.

Parameter

Name

Type

Description

newValue

TcHmi.FourSidedCss, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

See also

Attribute getter: getTextPadding

Origin: TcHmiButton

setTextPadding 1:

Available from 1.8