104,545pages on
this wiki
Add New Page
Add New Page Talk0
XML UI ← XML types < AbsValue

AbsValue is a type used for defining a single value relate to relating to size or position in the the UI coordinate system. See AbsDimension and Dimension for value pair use types. AbsValue is used for properties such as FontHeight and TileSize.

Inheritance Edit

Inherited by: none, Inherits: none, Defined in: Value

Elements Edit


Attributes Edit

  • val (int) - defines a unit based value

Summary Edit

AbsValue facilitates the 'Layout' mechanism in the WoW UI. See the AbsDimension and Dimension for numerical value pairs use types. AbsValue is the 'unit based' property version in Value, where <RelValue> is the 'scalar' value property version.

Example Edit

<Frame name="MyFrame">
  <Size x="200" y="200"/>
      <FontString text="Bob" inherits="MyFont">
        <Size x="100" y="100"/>
          <AbsValue val="12"/>
          <Anchor point="TOP"/>

This example demonstrates use of FontHeight using Abs values.

Details Edit

Also on Fandom

Random Wiki