BIS fnc ctrlTextHeight: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "") |
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2") |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
| | |game1= arma3 | ||
|version1= 1.00 | |||
| | |gr1= GUI | ||
| | |descr= Resize control according to it is text. | ||
| | |s1= [control] call [[BIS_fnc_ctrlTextHeight]] | ||
| | |p1= control: [[Control]] - the control which should changed | ||
| | |r1= [[Boolean]] - [[true]] | ||
|x1= <sqf>[_ctrl] call BIS_fnc_ctrlTextHeight;</sqf> | |||
| | |seealso= [[ctrlCommitted]] [[ctrlSetPosition]] [[ctrlSetFade]] | ||
}} | }} | ||
Latest revision as of 15:51, 8 November 2023
Description
Syntax
- Syntax:
- [control] call BIS_fnc_ctrlTextHeight
- Parameters:
- control: Control - the control which should changed
- Return Value:
- Boolean - true
Examples
- Example 1:
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