<Template>
  <SetVariable name="Group">[Auxiliary<Variable name="AuxNum"/>]</SetVariable>

  <!-- input device is NOT configured -->
  <WidgetGroup>
    <Layout>horizontal</Layout>
    <SizePolicy>max,min</SizePolicy>
    <Children>

      <WidgetGroup>
        <ObjectName>MicAuxAddFrame</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>min,min</SizePolicy>
        <Children>

          <Label>
            <ObjectName>MicAuxLabelUnconfigured</ObjectName>
            <Size>,21f</Size>
            <Text>Aux <Variable name="AuxNum"/></Text>
            <Alignment>center</Alignment>
          </Label>

          <WidgetGroup>
            <ObjectName>MicAuxAddBox</ObjectName>
            <Layout>vertical</Layout>
            <SizePolicy>min,me</SizePolicy>
            <Children>
              <PushButton>
                <TooltipId>configure_input</TooltipId>
                <ObjectName>MicAuxAdd</ObjectName>
                <Size>26f,26f</Size>
                <NumberStates>1</NumberStates>
                <State>
                  <Number>0</Number>
                  <Unpressed scalemode="STRETCH">skins:LateNight/<Variable name="BtnScheme"/>/buttons/btn_flat_square.svg</Unpressed>
                  <Pressed scalemode="STRETCH">skins:LateNight/<Variable name="BtnScheme"/>/buttons/btn_flat_square.svg</Pressed>
                </State>
                <Connection>
                  <ConfigKey><Variable name="Group"/>,main_mix</ConfigKey>
                </Connection>
              </PushButton>
            </Children>
          </WidgetGroup><!-- MicAuxAddBox -->

        </Children>
      </WidgetGroup><!-- MicAuxAddFrame -->

    </Children>
    <Connection>
      <ConfigKey><Variable name="Group"/>,input_configured</ConfigKey>
      <Transform><Not/></Transform>
      <BindProperty>visible</BindProperty>
    </Connection>
  </WidgetGroup><!-- /MicAuxUnit -->
</Template>
