BIS_fnc_ctrlTextHeight

From Bohemia Interactive Community
Revision as of 16:51, 8 November 2023 by Lou Montana (talk | contribs) (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Resize control according to it is text.
Execution:
call
Groups:
GUI

Syntax

Syntax:
[control] call BIS_fnc_ctrlTextHeight
Parameters:
control: Control - the control which should changed
Return Value:
Boolean - true

Examples

Example 1:
[_ctrl] call BIS_fnc_ctrlTextHeight;

Additional Information

See also:
ctrlCommitted ctrlSetPosition ctrlSetFade

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note