BIS fnc ctrlFitToTextHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[[cC]ategory:\{\{Name\|arma3\}\}: [fF]unctions\|\{\{uc:[a-z A-Z_]*\}\}\]\]" to "")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 21: Line 21:
|x1= <code>_height = [_ctrl, 1.5, 3] [[call]] [[BIS_fnc_ctrlFitToTextHeight]];</code>
|x1= <code>_height = [_ctrl, 1.5, 3] [[call]] [[BIS_fnc_ctrlFitToTextHeight]];</code>


| [[ctrlCommitted]], [[ctrlSetPosition]], [[ctrlSetFade]]
|seealso= [[ctrlCommitted]], [[ctrlSetPosition]], [[ctrlSetFade]]
}}
}}

Revision as of 01:22, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
GUI

Syntax

Syntax:
Syntax needed
Parameters:
control: Control - The control which should be scaled
offset: Number - (Optional, default 0) Offset
time: Number - (Optional, default 0) Commit time
Return Value:
Return value needed

Examples

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

Additional Information

See also:
ctrlCommittedctrlSetPositionctrlSetFade

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