WoW:XML/Anchor: Difference between revisions

288 bytes added ,  12 August 2022
Line 11: Line 11:
** <[[XML/RelDimension|RelDimension]]>
** <[[XML/RelDimension|RelDimension]]>


==Attributes==
== Attributes ==
* point ([[XML/FRAMEPOINT|FRAMEPOINT]])
* point ([[XML/FRAMEPOINT|FRAMEPOINT]])
* relativeTo (string) - global name of LayoutFrame to make relative to.
* relativeTo (string) - global name of LayoutFrame to make relative to. Default value is the parent.  
* relativeKey (string) - a Lua reference to make relative to. alternate to '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]])
* relativePoint ([[XML/FRAMEPOINT|FRAMEPOINT]]) - place on the relative frame or region that 'point' should be relative to.  Default value is same 'point'. 
* x (int)
* x (int) - horizontal offset from the effective 'relativePoint'. Default is 0.
* y (int)
* y (int) - vertical offset from the effective 'relativePoint'. Default is 0.


== Summary ==
== Summary ==