Originally Posted by Xrystal
Use SetPoints of center for each frame.
Frame1 = CreateFrame("Frame","Frame1",UIParent)
Frame1:SetPoint("CENTER",0,0)
Frame2 = CreateFrame("Frame","Frame2",Frame1)
Frame2:SetPoint("CENTER",0,0)
Frame3 = CreateFrame("Frame","Frame3",UIParent)
Frame3:SetPoint("TOPLEFT",0,0)
Frame3:SetPoint("TOPRIGHT",0,0)
But come to think of it, would moving a child move the parent or would you have to move the parent to move the children around.
|
I'm not sure... I know what i'm trying to do has to be possible since Carbonite did it, but i'm trying extremely hard to not look at any of there code while I work on the new one. But so far all my attempts, the child moves and the parent stays in place.