MaxWidth

Definition of the maximum width if the control size is defined as dynamic.

Maximum Width overwrites the calculated width, but Minimum Width overwrites Maximum Width.

MaxWidth 1:

Learn how controls can be positioned and their size defined.

Schema: tchmi:framework#/definitions/MeasurementValue

Attribute getter

public getMaxWidth(): number | null;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

number, null

The current value of the attribute.

Attribute setter

public setMaxWidth(valueNew: number | null): void;

Parameter

Name

Type

Description

valueNew

number, 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.

MaxWidth 2:

Available from 1.8