Widget/API/SetAnchor

Allows you to set a Widget's anchor.

Arguments

 * point
 * string - The point on the method's parent to anchor (LEFT, RIGHT, BOTTOM, TOP, CENTER, BOTTOMLEFT, BOTTOMRIGHT, TOPLEFT, TOPRIGHT).
 * relativePoint
 * string - The point on the relative widget to anchor(LEFT, RIGHT, BOTTOM, TOP, CENTER, BOTTOMLEFT, BOTTOMRIGHT, TOPLEFT, TOPRIGHT).
 * relativeTo
 * string/widget - The name or object of the relative widget to anchor.
 * offsetX
 * number - The offset on the x axis
 * offsetY
 * number - The offset on the y axis

Returns

 * None

Related Methods

 * ClearAllAnchors
 * GetAnchor
 * GetAnchorOffset
 * SetTextAnchor

Related Pages

 * Widget (Overview)