Thread: Reputation Bar
View Single Post
06-06-19, 09:30 PM   #6
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,323
Originally Posted by Fizzlemizz View Post
Two FontStrings, Name(Justified Left) and Value (Justified Right or Center) sized 70/30 (80/20 or whatever works) across the bar so you get Steamwh... 92% if the name gets too long
What I usually do, instead of manually setting the size for each FontString, I set the RIGHT anchor of Name to the LEFT point of Value. This dynamically allocates the width of both FontStrings without wasting space that could be used for the former.
__________________
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