Originally Posted by zork
self.Health:GetWidth() returns 0 for me on group header units.
|
Make sure it runs after self.Health:SetSize/SetWidth or replace it with a static value. If you're using the entire frame (e.g. self.Health:SetAllPoints(self)) you could use self:GetWidth()