Originally Posted by Icerat
Another question, whats the differeance between
Code:
self.Auras:SetPoint("BOTTOMRIGHT", self, 30, 0)
Code:
self.Auras:SetPoint("BOTTOMRIGHT", self, "TOPRIGHT", 30, 0)
From what I've observed the first put the aura icon where i want it 30 away from the bottom right edge of my target frame and the second puts it 30 away from the top right edge of the frame.
My question is why not use the first example, why do the various layouts I've looked at use the second example, whats the point of the "BOTTOMRIGHT" in the second example?
As always thanks for the responses and i look forward to learning from them.
|
Code:
self.Auras:SetPoint("BOTTOMRIGHT", self, 30, 0)
is the same as
Code:
self.Auras:SetPoint("BOTTOMRIGHT", self, "BOTTOMRIGHT", 30, 0)
http://wowprogramming.com/docs/widgets/Region/SetPoint