<Ui>
  <Frame name="AuctionatorCraftingInfoProfessionsFrameTemplate" mixin="AuctionatorCraftingInfoProfessionsFrameMixin" virtual="true" frameLevel="520">
    <Size x="300" y="22"/>
    <Scripts>
      <OnLoad method="OnLoad"/>
      <OnEvent method="OnEvent"/>
    </Scripts>
    <Layers>
      <Layer level="OVERLAY">
        <FontString inherits="GameFontNormal" parentKey="Total" justifyH="LEFT" spacing="1.5">
          <Anchors>
            <Anchor point="TOPLEFT" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <Button parentKey="SearchButton" inherits="UIPanelDynamicResizeButtonTemplate" text="AUCTIONATOR_L_SEARCH" registerForClicks="LeftButtonUp,RightButtonUp">
        <Scripts>
          <OnClick>
            self:GetParent():SearchButtonClicked(button)
          </OnClick>
        </Scripts>
        <Anchors>
          <Anchor point="TOPRIGHT" y="6"/>
        </Anchors>
      </Button>

      <Frame parentKey="CustomQuantity" inherits="ButtonFrameTemplate" hidden="true" frameLevel="530">
        <Size x="300" y="80"/>
        <Anchors>
          <Anchor point="CENTER"/>
        </Anchors>
        <Frames>
          <Frame parentKey="Quantity" inherits="AuctionatorConfigurationNumericInputAlternate">
            <Size x="125" y="22"/>
            <Anchors>
              <Anchor point="LEFT" y="-15"/>
              <Anchor point="RIGHT" relativePoint="CENTER"/>
            </Anchors>

            <KeyValues>
              <KeyValue key="labelText" value="AUCTIONATOR_L_QUANTITY" type="global"/>
            </KeyValues>
          </Frame>
          <Button parentKey="SearchButton" inherits="UIPanelDynamicResizeButtonTemplate" text="AUCTIONATOR_L_SEARCH">
            <Scripts>
              <OnClick>
                self:GetParent():GetParent():QuantitySearchButtonClicked(self:GetParent().Quantity:GetNumber())
              </OnClick>
            </Scripts>
            <Anchors>
              <Anchor point="RIGHT" x="-10" y="-13"/>
            </Anchors>
          </Button>
        </Frames>
      </Frame>
    </Frames>
  </Frame>
</Ui>
