The command lbSetTooltip will only render text on a single line. You cannot perform a linebreak via <br /> or \n.
The command should support line breaks.
The command lbSetTooltip will only render text on a single line. You cannot perform a linebreak via <br /> or \n.
The command should support line breaks.
_description = getText (configFile >> "CfgWeapons" >> "SMG_01_F" >> "descriptionShort");
lbSetTooltip [IDCHERE, 0, _description];
Hover over it and it'll render the text on one line only
Linebreaks are obviously supported within the engine for listboxes, tooltips, etc (the inventory dialog shows that) so can we please have them made available for us to use?
Oh yeah, parsetext with lbsetTooltip or ctrlSetTooltip would be awesome. So i could fullfill my inventory hover script :)
Greetings