View Single Post
06-16-21, 11:07 AM   #1
DarkruneDOTDK
A Murloc Raider
Join Date: Oct 2015
Posts: 9
Setting fontsize for ChatFrame1

Hi.

I am trying to set the font size for ChatFrame1 (General), but it doesn't seem to update correctly... Doing a /reload will reset the font size to the size it had before the change. It starts by having a font size of 14 on a new character.

Code:
Code:
local name, fontSize, r, g, b, a, shown, locked = FCF_GetChatWindowInfo(1);
local fontFile, _, fontFlags = ChatFrame1:GetFont();
ChatFrame1:SetFont(fontFile, 12, fontFlags);
Is there something I need to do for it to be remembered? - The purpose is to make it easier to setup a new character, so you more or less write a slash command and it does all of it for you.
  Reply With Quote