Thread Tools Display Modes
05-01-08, 06:40 PM   #1
Dreadlorde
A Pyroguard Emberseer
 
Dreadlorde's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 2,302
xml help

I'm trying to move this frame, but whenever I add the coords for it, it just stays in the middle.

Code:
<UI xmlns="http://blizzard.com/wow/ui/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.blizard.com/wow/ui/
..\FrameXML\UI.xsd">
    <Frame name="Player_Frame" toplevel="true" frameStrata="HIGH" enableMouse="true" movable="true" parent="UIParent" clampedToScreen="true">
        <Size>
            <AbsDimension x="331.5" y="31.5" />
        </Size>
        <Anchors>
            <Anchor point="CENTER" />
                <Offset>
	         <AbsDimension x="0" y="-100"/>
	    </Offset>
        </Anchors>
        <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" bgFile="Interface\AddOns\DiscordLibrary\PlainBackdrop">
                <BackgroundInsets>
                    <AbsInset left="4" right="4" top="4" bottom="4" />
                </BackgroundInsets>
                    <EdgeSize>
                    <AbsValue val="16"/>
                </EdgeSize>
                    <Color r="0.113" g="0.2" b="0.325" a="0.9" />
                <BorderColor r="0.403" g="0.690" b="1" a="0.9" />
        </Backdrop>
    </Frame>
</UI>
Also after the </Offset>, if I add </Anchor>, the frame doesn't show up at all.


Thanks for any help.
  Reply With Quote
05-01-08, 07:15 PM   #2
Akryn
A Firelord
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 479
Code:
<Anchor point="CENTER" />
the trailing / closes the tag. get rid of that, and then put in </Anchor>
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » xml help


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