Quantcast
ChatFrame Tab Text font border not working? - WoWInterface
Thread Tools Display Modes
08-16-14, 12:27 AM   #1
eiszeit
A Chromatic Dragonspawn
 
eiszeit's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 154
ChatFrame Tab Text font border not working?

I may have missed this in a patch or so ... but since when isn't it possible to change the font flags of the ChatFrame Tab Text?

I know I had it like this in my old UI and it worked, but now it isn't anymore.

Lua Code:
  1. for i = 1, NUM_CHAT_WINDOWS do
  2.     local tabText = _G["ChatFrame"..i.."TabText"]
  3.     tabText:SetFont(NAMEPLATE_FONT, 11, 'OUTLINE')
  4. end
__________________
Lyn • I'm a mess of unfinished thoughts
  Reply With Quote
08-16-14, 06:20 AM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I just ran that code in-game and it worked as expected. It's possible you're running it too early, and the Blizzard UI or another addon is resetting it by the time the login process is finished. Try waiting for PLAYER_LOGIN, and if that doesn't work, just run it again every time ADDON_LOADED fires.
__________________
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
08-16-14, 06:21 AM   #3
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,703
That should work fine, if not, try delaying it until PLAYER_LOGIN
  Reply With Quote
08-18-14, 01:53 AM   #4
eiszeit
A Chromatic Dragonspawn
 
eiszeit's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2007
Posts: 154
Thanks. Tried both, didn't work somehow. Obble gave me his code now and this seem to work.
__________________
Lyn • I'm a mess of unfinished thoughts
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » ChatFrame Tab Text font border not working?

Thread Tools
Display Modes

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