Arma 3 Scripting

BIS_fnc_ctrlFitToTextHeight

  • Arma 3 v1.00

Function · Markdown · JSON · original wiki page

Description

Resize structured text control to fit its text height.

Syntax

[control,offset,time] call BIS_fnc_ctrlFitToTextHeight

Parameters:

Returns: Number - text height

Examples

Example 1

private _height = [_ctrl, 1.5, 3] call BIS_fnc_ctrlFitToTextHeight;

See also

ctrlCommitted · ctrlSetPosition · ctrlSetFade