Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

Anchors

Last wiki revision 2021-11-05

Anchors (or FRAMEPOINT in the XML schema) are an enumeration of the following values, used with or.

  • TOPLEFT
  • TOPRIGHT
  • BOTTOMLEFT
  • BOTTOMRIGHT
  • TOP
  • BOTTOM
  • LEFT
  • RIGHT
  • CENTER

During the AddOn loading process, anchors are adjusted at multiple stages.

  • : Anchors defined in XML have already been set.
  • : If a frame is parented to UIParent, then its anchors are wiped and replaced with layout-cache.txt. If the frame layout data have not been saved in the cache (the user has never moved the frame with the mouse), Frame:GetLeft, Frame:GetBottom, Frame:GetRight and Frame:GetTop return nil.

Categories

  • Widgets

Source

https://warcraft.wiki.gg/wiki/Anchors · 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.