Thread Tools Display Modes
12-04-14, 07:29 PM   #1
Tarumi
A Deviate Faerie Dragon
 
Tarumi's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 17
Multiple Column Tooltip

I already can make one or two column tooltips but how could I create, say, a five column tooltip? Or is the solution to just make one column and use a string and use tabs to explode an array of "columns"? I've searched around online but haven't found anything specific to WoW displays in tooltips.

Thanks!
  Reply With Quote
12-04-14, 08:05 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Yes, but you would have to either use a library, or create your own frame and manage the font strings yourself; the GameTooltip object type (used by most tooltips in-game, including the one named "GameTooltip") only supports two columns.

See also:
- LibQTip-1.0 library
- Tekkub's multi-column tooltip
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
12-04-14, 08:09 PM   #3
Tarumi
A Deviate Faerie Dragon
 
Tarumi's Avatar
AddOn Author - Click to view addons
Join Date: May 2010
Posts: 17
Thanks Phanx! The second link you provided looks like it may work for my needs, the LibQTip is a bit overkill for all I need to display.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Multiple Column Tooltip


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