<!--
Description:
  Container for 8 samplers and a centered mini/Maxi toggler.
Variables:
  row   : number of sampler row
-->
<Template>
  <WidgetGroup>
    <Layout>horizontal</Layout>
    <SizePolicy>me,min</SizePolicy>
    <Children>
      <WidgetGroup><!-- 1-4 -->
        <ObjectName>SamplerDecks</ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>me,me</SizePolicy>
        <Children>
            <WidgetGroup><Size>1f,1min</Size></WidgetGroup>
          <Template src="skin:sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler1"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler2"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler3"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler4"/></SetVariable>
          </Template>
        </Children>
      </WidgetGroup><!-- /1-4 -->

      <WidgetGroup><Size>1f,1min</Size></WidgetGroup>

      <WidgetGroup>
        <SizePolicy>min,me</SizePolicy>
        <Layout>vertical</Layout>
        <Children>
          <WidgetGroup>
            <ObjectName>RoundFiller25</ObjectName>
            <SizePolicy>min,me</SizePolicy>
            <Layout>vertical</Layout>
            <Children>
              <WidgetGroup><Size>1min,3f</Size></WidgetGroup>
              <Template src="skin:button_2state_persist.xml">
                <SetVariable name="ObjectName">FxSamplersMiniMaxi</SetVariable>
                <SetVariable name="Size">20f,15f</SetVariable>
                <SetVariable name="ConfigKey">[SamplerRow<Variable name="row"/>],expanded</SetVariable>
              </Template>
              <WidgetGroup><Size>1min,1me</Size></WidgetGroup>
            </Children>
          </WidgetGroup>
          <WidgetGroup><Size>1min,5f</Size></WidgetGroup>
        </Children>
      </WidgetGroup>

      <WidgetGroup><Size>1f,1min</Size></WidgetGroup>

      <WidgetGroup><!-- 5-8 -->
        <ObjectName>SamplerDecks</ObjectName>
        <Layout>horizontal</Layout>
        <SizePolicy>me,me</SizePolicy>
        <Children>
          <Template src="skin:sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler5"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler6"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler7"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler8"/></SetVariable>
          </Template>
        </Children>
      </WidgetGroup><!-- /5-8 -->
    </Children>
  </WidgetGroup>
</Template>
