View Single Post
07/29/14, 03:28 AM   #4
zgrssd
AddOn Author - Click to view addons
Join Date: May 2014
Posts: 280
Originally Posted by mattmillus View Post
Thank you Harven, that works very well for label controls, and solved part of the issue!

However the larger issue is when dealing with the chat container window and AddMessageToWindow() function. What I am trying to do is display width formatted text to the chat log. For example, a command /dumpstats, to write the following in the chat window:

[Noob] zone: WTS noob lewtz
STAT BEFORE AFTER
Stat1 670 899
Stat2 1 20

Since different stats will have a different value in the BEFORE column they will misalign AFTER column if simply writing a bunch of spaces, so that is not a very good solution. Anything better I can do?

EDIT: Lol, esoui forums here just removed the extra formatting spaces in my little ghetto table above. In case its not obvious, I am trying to make the data align to the column headers, essentially I want fixed width columns

EDIT2: Alternatively, is there a fixed width font included with the game I could use instead?
If I remmeber right the client can choose wichever Font he wants to use for the Chat. Or what Font Size or chat width for that matter.

I don't think the chat was designed to transmit properly alligned/layed out text.
  Reply With Quote