ctrlSetFontHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Sets the <tt>sizeEx</tt> property for most controls but not all. [[CT_STRUCTURED_TEXT]] unfortunately is not supported as it operates on <tt>size</tt> property among other things. This setter command does not have a getter counterpart either.|DESCRIPTION=
| Sets the <tt>sizeEx</tt> property for most controls as follows:
* <tt>CT_MAP</tt> - "sizeExNames"
* <tt>CT_STRUCTURED_TEXT</tt> - "size" (since Arma 3 v2.01)
* <tt>CT_HTML</tt> - "P" >> "sizeEx"
* Other - "sizeEx"
For getter command see [[ctrlFontHeight]]|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:31, 3 September 2020

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Sets the sizeEx property for most controls as follows:
  • CT_MAP - "sizeExNames"
  • CT_STRUCTURED_TEXT - "size" (since Arma 3 v2.01)
  • CT_HTML - "P" >> "sizeEx"
  • Other - "sizeEx"
For getter command see ctrlFontHeight
Groups:
Uncategorised

Syntax

Syntax:
control ctrlSetFontHeight size
Parameters:
control: Control
size: Number
Return Value:
Nothing

Examples

Example 1:
_control ctrlSetFontHeight 0.05;

Additional Information

See also:
Arma: GUI Configuration

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

Notes

Bottom Section