Thread: Anchors
View Single Post
03/16/14, 12:44 PM   #6
Halja
 
Halja's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 111
If you are just shifting your main frame/window, I would recommend the overloaded API command. It is SetSimpleAnchor. Then you only have to worry about the parent window and the screen coordinates.

SetSimpleAnchor protected-attributes (object anchorTargetControl, number offsetX, number offsetY)

i.e. frame:SetSimpleAnchor(GuiRoot, 5, 5)

--halja
  Reply With Quote