BIS_fnc_ctrlFitToTextHeight

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.00

Description

Description:
Resize structured text control to fit its text height.

Syntax

Syntax:
[control,offset,time] spawn BIS_fnc_ctrlFitToTextHeight
Parameters:
control: Control - The control which should be scaled
offset: Number - (Optional, default 0) Offset
time: Number - (Optional, default 0) Commit time
Return Value:
Number - Text height

Examples

Example 1:
_height = [_ctrl, 1.5, 3] spawn BIS_fnc_ctrlFitToTextHeight;

Additional Information

Execution:
call
Multiplayer:
-
See also:
ctrlCommittedctrlSetPositionctrlSetFade

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section