Description
Resize structured text control to fit its text height.
Syntax
[control,offset,time] call BIS_fnc_ctrlFitToTextHeight
Parameters:
control: Control - the control which should be scaledoffset: Number - (Optional, default 0) offsettime: Number - (Optional, default 0) commit time
Returns: Number - text height
Examples
Example 1
private _height = [_ctrl, 1.5, 3] call BIS_fnc_ctrlFitToTextHeight;