View Single Post
02-19-10, 04:59 PM   #15
KCmilam
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 13
Well I pushed another update. I've been using it to make a new options panel for an addon and realized that it had trouble opening prexisting addon xml files.

The cause of the bug was from the two different ways that Anchors, Insets, Sizes, and Values could be set.

Method 1:
Code:
<Anchors>
    <Anchor point="TOPLEFT">
        <Offset x="15" y="15" />
    </Anchor>
</Anchors>
Method 2:
Code:
<Anchors>
    <Anchor point="TOPLEFT">
        <Offset>
            <AbsDimension x="15" y="15" />
        </Offset>
    </Anchor>
</Anchors>
It should be able to read both methods now and display the layout of the addon after pasting the code in the xml tab and pressing Update Designer.
  Reply With Quote