Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

XML/Anchor

Last wiki revision 2021-08-30

<Anchors> (child of ) defines a widget's anchors by enclosing <Anchor> tags. also introduces &lt;StartAnchor&gt; and &lt;EndAnchor&gt; with the same attributes as <Anchor> <Anchors> <Anchor point="" relativeKey="" relativeTo="" relativePoint="" x="" y=""> </Anchor> </Anchors>

<Anchor> defines a single point to align a <LayoutFrame>. <Offset> inherits from <div style="margin-left:16px; border-left:1px solid var(--theme-border-color); padding-left:7px;">

  • point (ui:FRAMEPOINT) - Point to align.
  • relativeTo - Another widget to align against (in ).
  • relativeKey - Another widget to align against (sibling).
  • relativePoint ( ui:FRAMEPOINT? Optional ) - Point on the other widget to align against (defaults to the same as point)
  • x - Horizontal offset in lieu of an <Offset> tag.
  • y - Vertical offset in lieu of an <Offset> tag.
  • Not required with.
  • - Sets an anchor after the widget is created.

Source

https://warcraft.wiki.gg/wiki/XML/Anchor · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.