<!--
  Gamepad Guild Trader
  Author: @doomvipr
  xml\TradeHouse.xml: Trade House UI Templates
-->

<GuiXml>
  <Controls>

    <!-- Row selection in trading house browser results and listing view. -->
    <Control name="GGT_TradingHouse_ItemListRow" inherits="ZO_TradingHouse_ItemListRow_Gamepad" virtual="true" override="true">
      <Controls>

        <!-- Price of item for sale. -->
        <Label name="$(parent)Price" font="ZoFontGamepad34" inherits="ZO_CurrencyTemplate" override="true">
          <Anchor point="TOPRIGHT" relativeTo="$(parent)RootSpacer"/>
        </Label>

        <!-- Name of item for sale. -->
        <Label name="$(parent)Label" font="ZoFontGamepad34" override="true">
          <Anchor point="TOPLEFT" relativeTo="$(parent)RootSpacer" offsetX="ZO_GAMEPAD_DEFAULT_LIST_ENTRY_MINIMUM_INDENT" />
          <Anchor point="TOPRIGHT" relativeTo="$(parent)Price" relativePoint="TOPLEFT" offsetX="-10" />
        </Label>

        <!-- Label for unit price. -->
        <Label name="$(parent)UnitPrice" font="ZoFontGamepadCondensed25" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" modifyTextType="UPPERCASE" override="TRUE">
          <Anchor point="TOPLEFT" relativeTo="$(parent)Label" relativePoint="BOTTOMLEFT"/>
        </Label>

        <!-- Unit price for stacked items. -->
        <Label name="$(parent)UnitPriceValue" font="ZoFontGamepad25" inherits="ZO_CurrencyTemplate" override="true">
          <Anchor point="LEFT" relativeTo="$(parent)UnitPrice" relativePoint="RIGHT" offsetX="8" />
        </Label>

        <!-- Remaining time item is for sale. -->
        <Label name="$(parent)TimeRemaining" font="ZoFontGamepadCondensed25" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" modifyTextType="UPPERCASE" override="true">
          <Anchor point="TOPRIGHT" relativeTo="$(parent)Price" relativePoint="BOTTOMRIGHT" />
        </Label>

      </Controls>
    </Control>

  </Controls>
</GuiXml>