WoW:XML/Anchor: Difference between revisions

Line 15: Line 15:
* relativeTo (string) - global name of LayoutFrame to make relative to. By is relative to its parent.  
* relativeTo (string) - global name of LayoutFrame to make relative to. By is relative to its parent.  
* relativeKey (string) - a Lua reference to make relative to. Alternative to using 'relativeTo'. See 'parentKey' in [[XML/LayoutFrame|LayoutFrame]].
* relativeKey (string) - a Lua reference to make relative to. Alternative to using 'relativeTo'. See 'parentKey' in [[XML/LayoutFrame|LayoutFrame]].
* relativePoint ([[XML/FRAMEPOINT|FRAMEPOINT]]) - place on the relative frame that 'point' should anchored to. Default value is same as value of 'point'
* relativePoint ([[XML/FRAMEPOINT|FRAMEPOINT]]) - place on the relative frame that 'point' should anchored to. Default value is same as value of 'point'  
* x (int) - horizontal offset from the effective 'relativePoint'. Default is 0.
* x (int) - horizontal offset from the effective 'relativePoint'. Default is 0.
* y (int) - vertical offset from the effective 'relativePoint'. Default is 0.
* y (int) - vertical offset from the effective 'relativePoint'. Default is 0.