Thread Tools Display Modes
08-20-06, 12:45 PM   #1
Dialos
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 10
AddFontStrings question

I've noticed while testing my mod that when the tooltip has a lot of lines that the text that my mod adds either doesn't appear at the bottom or only a few lines do. I looked around and found out that the gametooltip has a maximum number of lines, think it's 25, and that the AddLine widget silently fails when the tooltip is at it's max.

Now, I could check if the tooltip is at or near the max and then output my data to a seperate tooltip, but I've found another widget that was added in 1.11 called AddFontString. The description says that it dynamically expands the size of the tooltip. Wowwiki doesn't have anything more on it and I've not had much luck with the wow UI forums or these forums finding what exactly this does. My question is, does this overcome the max line problem? And if it does how do I color the text as there doesn't seem to be an argument that passes in color like AddLine does.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » AddFontStrings question


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off