Arma 3 Scripting

Function in GUI

BIS_fnc_ctrlTextHeight

Also available as Markdown and JSON, or read the original wiki page.

Description

Resize control according to it is text.

Syntax

[control] call BIS_fnc_ctrlTextHeight

Parameters:

Returns: Boolean - true

Examples

Example 1

[_ctrl] call BIS_fnc_ctrlTextHeight;

See also

ctrlCommitted · ctrlSetPosition · ctrlSetFade