View Single Post
09-01-20, 08:46 PM   #5
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,323
:SetJustifyH() aligns text within the object's boundaries. Since no width or opposing points (left and right) are defined, it's automatically cropped to the size of the text contained. One issue I see is the width of the entire frame derives off calculations that depend on this behavior. The original function also calls UIParent's frame position manager, which means it may be susceptible to taint.

This series of setbacks may be why many UI addons opt to disable Blizzard's built-in tracker and build their own from scratch.
__________________
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