ctrlSetFontHeight: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (description) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Sets the | | 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 gave a getter counterpart either.|= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| controlName '''ctrlSetFontHeight''' | | controlName '''ctrlSetFontHeight''' size | ||
|p1= | |p1= control: [[Control]] |= Parameter 1 | ||
|p2= | |p2= size: [[Number]] |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= < | |x1= <code>_control [[ctrlSetFontHeight]] 0.05;</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Dialog Control]] |= See also | ||
}} | }} |
Revision as of 15:35, 3 September 2018
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 gave a getter counterpart either.
- Groups:
- Uncategorised
Syntax
- Syntax:
- controlName 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