Layout-local.txt
Jump to navigation
Jump to search
layout-local.wtf stores Frame anchors when dragged by a player using Frame:SetUserPlaced(true) or Frame:StartMoving().
It is located in World of Warcraft\__<Edition>__\WTF\<Account>\<Server>\<Character>\layout-local.wtf
Properties
- Frame
- string - Globally accessible name.
- FrameLevel
- number - Z-axis cordiante within the frame's initial Frame Strata.
- Anchor
- string - One of the nine anchors
- X
- number - Horizontal offset.
- Y
- number - Vertical offset.
- W
- number - Width.
- H
- number - Height.
Details
- Frame:StopMovingOrSizing() writes to layout-local.wtf, anchoring a frame to the centre or nearest corner.
- The file's first line is always
Version: 1
, presumably as a placeholder in case the format should ever change in future iterations. - Each saved layout then follows as seven lines, formatted like
Property: Value
.
Example
Frame: MyAddonFrame FrameLevel: 1 Anchor: CENTER X: 245 Y: 47 W: 500 H: 280
See also
- Character settings - config-cache.wtf
- Game Engine settings - Config.wtf
- List of Character-specific settings