HeightMode
Choice of the method of calculating the height. The available options are:
- Value: The height is defined by the height entered.
- Parent: The height is defined by the distance to the top and bottom side. The Height attribute is ignored in all calculations!
- Content: The height is defined by the text length of the control.
Schema: tchmi:framework#/definitions/SizeModeWithContent
Attribute getter
public getHeightMode(): TcHmi.SizeModeWithContent;Parameter
Name | Type | Description |
|---|---|---|
- | - | - |
Return value
Type | Description |
|---|---|
The current value of the attribute. |
Attribute setter
public setHeightMode(valueNew: TcHmi.SizeModeWithContent | null): void;Parameter
Name | Type | Description |
|---|---|---|
valueNew | The new value of the attribute. If null is passed, the internal default value is used. |
Return value
Type | Description |
|---|---|
void | No return value. |
![]() | Available from 1.8 |
