Thread Tools Display Modes
Prev Previous Post   Next Post Next
11-30-14, 12:15 PM   #1
cokedrivers
A Rage Talon Dragon Guard
 
cokedrivers's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2009
Posts: 328
Centering Level Text

Attached is a Target frame default (with a couple of modifacations) I was wondering how I would center the Level Text to look better?

I searcher playerframeleveltext and found this in the PlayerFrame.xml
Code:
                                <FontString name="PlayerLevelText" inherits="GameFontNormalSmall">
                                    <Anchors>
                                        <Anchor point="CENTER">
                                            <Offset>
                                                <AbsDimension x="-63" y="-16"/>
                                            </Offset>
                                        </Anchor>
                                    </Anchors>
                                </FontString>
How would I convert this to lua just adjust the AbsDimension to be 61 instead of 63?

Thanks Coke
Attached Images
File Type: png Unitframe.png (47.4 KB, 200 views)
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Centering Level Text


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off