WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   ChatFrame Tab Text font border not working? (https://www.wowinterface.com/forums/showthread.php?t=49649)

eiszeit 08-16-14 12:27 AM

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

Phanx 08-16-14 06:20 AM

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.

p3lim 08-16-14 06:21 AM

That should work fine, if not, try delaying it until PLAYER_LOGIN

eiszeit 08-18-14 01:53 AM

Thanks. Tried both, didn't work somehow. Obble gave me his code now and this seem to work.


All times are GMT -6. The time now is 07:32 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI