BIS fnc ctrlTextHeight: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(page filling) |
||
Line 1: | Line 1: | ||
{{Function|= Comments | {{Function|= Comments | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | a3 |= Game name | ||
|1.00|= Game version | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Resize control according to it's text. |= Description | ||
____________________________________________________________________________________________ | |||
| [control] call [[BIS_fnc_ctrlTextHeight]] |= Syntax | |||
____________________________________________________________________________________________ | |||
|p1= control: [[Control]] - The control which should changed|= Parameter 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Boolean]] - [[True]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[_ctrl] [[call]] [[BIS_fnc_ctrlTextHeight]];</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | [[ctrlCommitted]], [[ctrlSetPosition]], [[ctrlSetFade]] |= See also | ||
}} | }} | ||
Revision as of 20:12, 29 May 2018
Description
- Description:
- Resize control according to it's text.
- Execution:
- call
- Groups:
- Uncategorised
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:
- 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
[[Category:Introduced with a3 version 1.00]][[ Category: a3: New Functions | BIS FNC CTRLTEXTHEIGHT]][[ Category: a3: Functions | BIS FNC CTRLTEXTHEIGHT]]