<!--
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:../Tango/mic_aux_sampler/sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler1"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:../Tango/mic_aux_sampler/sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler2"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:../Tango/mic_aux_sampler/sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler3"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:../Tango/mic_aux_sampler/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:../Tango/controls/button_2state_persist.xml">
                <SetVariable name="ObjectName">SamplersMiniMaxi</SetVariable>
                <SetVariable name="Size">20f,30me</SetVariable>
                <SetVariable name="ConfigKey">[Skin],sampler_row_<Variable name="row"/>_expanded</SetVariable>
              </Template>
            </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:../Tango/mic_aux_sampler/sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler5"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:../Tango/mic_aux_sampler/sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler6"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:../Tango/mic_aux_sampler/sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler7"/></SetVariable>
          </Template>
            <WidgetGroup><Size>5f,1min</Size></WidgetGroup>
          <Template src="skin:../Tango/mic_aux_sampler/sampler.xml">
            <SetVariable name="samNum"><Variable name="sampler8"/></SetVariable>
          </Template>
        </Children>
      </WidgetGroup><!-- /5-8 -->
    </Children>
  </WidgetGroup>
</Template>
