View Single Post
10-22-20, 03:56 PM   #3
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
You can change the base font object and it'll propagate through all fontstrings that inherit from it.
Lua Code:
  1. local name,_,style=TextStatusBarText:GetFont();
  2. TextStatusBarText:SetFont(name,14,style);
Note: Font objects seem to ignore the virtual XML tag and actually exist in the global environment.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote