WoW:XML/Anchor: Difference between revisions

10 bytes removed ,  12 August 2022
Line 12: Line 12:


== Attributes ==
== Attributes ==
* point ([[XML/FRAMEPOINT|FRAMEPOINT]]) - place on the layout frame or frame that should get anchored
* point ([[XML/FRAMEPOINT|FRAMEPOINT]]) - this place on this layout frame that should get anchored
* 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 or region that 'point' should be relative to. Default value is same as 'point'
* relativePoint ([[XML/FRAMEPOINT|FRAMEPOINT]]) - place on the relative frame or region that 'point' should anchored to. Default value is same as '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.