Difference between revisions of "ctrlSetTooltipMaxWidth"

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (Text replacement - " |game1= arma3 |version1= 2.06 |branch= dev " to " |game1= arma3 |version1= 2.06 ")
Line 3: Line 3:
 
|game1= arma3
 
|game1= arma3
 
|version1= 2.06
 
|version1= 2.06
 
|branch= dev
 
  
 
|descr= Set maximum width of a control's tooltip.
 
|descr= Set maximum width of a control's tooltip.

Revision as of 19:27, 5 October 2021

Hover & click on the images for description

Description

Description:
Set maximum width of a control's tooltip.
Groups:
GUI Control

Syntax

Syntax:
ctrl ctrlSetTooltipMaxWidth width
Parameters:
ctrl: Control
width: Number - in screen measurement units
Return Value:
Number - the previous maximum width of the tooltip

Examples

Example 1:
private _previousMaxWidth = _myControl ctrlSetTooltipMaxWidth SafeZoneW/2;

Additional Information

See also:
SafeZone SafeZoneW

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