ctrlSetFontHeight: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
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 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=
____________________________________________________________________________________________
____________________________________________________________________________________________


| control '''ctrlSetFontHeight''' size  
| control '''ctrlSetFontHeight''' size  


|p1= control: [[Control]] |= Parameter 1
|p1= control: [[Control]] |PARAMETER1=


|p2= size: [[Number]] |= Parameter 2
|p2= size: [[Number]] |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_control [[ctrlSetFontHeight]] 0.05;</code> |= Example 1
|x1= <code>_control [[ctrlSetFontHeight]] 0.05;</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Dialog Control]] |= See also
| [[Dialog Control]] |SEEALSO=


}}
}}

Revision as of 14:36, 7 April 2019

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

Description

Description:
Sets the sizeEx property for most controls but not all. CT_STRUCTURED_TEXT unfortunately is not supported as it operates on size property among other things. This setter command does not have a getter counterpart either.
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:
Dialog Control

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