WoW Frames Tutorial (Frame 2)

The Hello World text is not in a good placement ,so we want to shift it a little.
For that i've created Frame 2:


        <!-- Frame 2 -->
       
        <!-- we have to shift the text a little bit to make it inside the frame -->
   <Frame name="FaraFrames2" hidden="true" inherits="FaraFrames">
    <!-- set the parameters for the layers of the frame -->
    <Layers>
      <Layer level="ARTWORK">
                <FontString name="$parent_Text" inherits="GameFontNormal" text="Hello World">
                        <Anchors>
                          <Anchor point="LEFT" relativePoint="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="4" y="-10"/>
                                </Offset>
                          </Anchor>
                        </Anchors>
                </FontString>
      </Layer>
    </Layers>
   </Frame>

 


We added an Offset Element to the Anchor Element of Fontstring, to define it's offset.

Here the resulting frame (Called with /ff 2)





Proceed to Frame 3