<?xml version="1.0" encoding="UTF-8"?>

<MyGUI type="Layout">
    <Widget type="Window" skin="MW_Window" layer="Windows" position="0 0 600 360" name="_Main">
        <Property key="Visible" value="false"/>
        <Property key="MinSize" value="380 245"/>

        <!-- Categories -->
        <Widget type="HBox" position="8 8 566 24" align="Left Top HStretch" name="Categories">
            <Widget type="AutoSizedButton" skin="MW_Button" name="AllButton">
                <Property key="Caption" value="#{sAllTab}"/>
            </Widget>
            <Widget type="AutoSizedButton" skin="MW_Button" name="WeaponButton">
                <Property key="Caption" value="#{sWeaponTab}"/>
            </Widget>
            <Widget type="AutoSizedButton" skin="MW_Button" name="ApparelButton">
                <Property key="Caption" value="#{sApparelTab}"/>
            </Widget>
            <Widget type="AutoSizedButton" skin="MW_Button" name="MagicButton">
                <Property key="Caption" value="#{sMagicTab}"/>
            </Widget>
            <Widget type="AutoSizedButton" skin="MW_Button" name="MiscButton">
                <Property key="Caption" value="#{sMiscTab}"/>
            </Widget>
        </Widget>

        <!-- Items -->
        <Widget type="ItemView" skin="MW_ItemView" position="8 38 566 185" name="ItemView" align="Left Top Stretch">
        </Widget>

        <Widget type="Widget" skin="" position="8 231 566 92" name="BottomPane" align="Left Bottom HStretch">
            <Widget type="TextBox" skin="SandText" position="192 0 374 24" name="PlayerGold" align="Left Top HStretch">
                <Property key="TextAlign" value="Right"/>
            </Widget>
            <Widget type="TextBox" skin="SandText" position="192 28 374 24" name="MerchantGold" align="Left Top HStretch">
                <Property key="TextAlign" value="Right"/>
            </Widget>

            <Widget type="Button" skin="MW_Button" position="0 0 40 24" name="IncreaseButton" align="Left Top">
                <Property key="Caption" value="+"/>
            </Widget>
            <Widget type="Button" skin="MW_Button" position="0 28 40 24" name="DecreaseButton" align="Left Top">
                <Property key="Caption" value="-"/>
            </Widget>

            <Widget type="TextBox" skin="SandText" position="48 0 140 24" name="TotalBalanceLabel" align="Left Top "/>
            <Widget type="NumericEditBox" skin="MW_TextEdit" position="48 28 140 24" name="TotalBalance" align="Left Top">
                <Property key="TextAlign" value="Center"/>
            </Widget>

            <Widget type="HBox" position="0 60 566 24" align="Right Bottom">
                <Widget type="Widget">
                    <UserString key="HStretch" value="true"/>
                </Widget>
                <Widget type="AutoSizedButton" skin="MW_Button" name="OfferButton" align="Right Top">
                    <Property key="Caption" value="#{sBarterDialog8}"/>
                </Widget>
                <Widget type="AutoSizedButton" skin="MW_Button" name="CancelButton" align="Right Top">
                    <Property key="Caption" value="#{sCancel}"/>
                </Widget>
            </Widget>

            <Widget type="AutoSizedButton" skin="MW_Button" position="0 60 60 24" name="MaxSaleButton" align="Left Top">
                <Property key="Caption" value="Max. Sale"/> <!-- GMST sMaxSale doesn't work -->
            </Widget>
        </Widget>

    </Widget>

</MyGUI>
