ctrlSetFontHeight: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) 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.|= | | 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]] |= | |p1= control: [[Control]] |PARAMETER1= | ||
|p2= size: [[Number]] |= | |p2= size: [[Number]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_control [[ctrlSetFontHeight]] 0.05;</code> |= | |x1= <code>_control [[ctrlSetFontHeight]] 0.05;</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[Dialog Control]] |= | | [[Dialog Control]] |SEEALSO= | ||
}} | }} |
Revision as of 14:36, 7 April 2019
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