<!--
Description:
  Floating VUMeter next to big CoverArt/Spinny in decks.
  Visible when mixer is hidden and Permanent Level Meters are enabled.
Variables:
  chanNum   : N in [ChannelN]
  Label     : deck number that's printed below the level meter

Rendering the meters from SVGs makes the entire GUI very laggy on older Macs.
Refer to https://bugs.launchpad.net/mixxx/+bug/1759433
-->
<Template>
  <WidgetGroup>
    <Layout>vertical</Layout>
    <SizePolicy>min,me</SizePolicy>
    <Children>
      <WidgetGroup><!-- VU incl. Label -->
        <ObjectName>VUMeterFloating</ObjectName>
        <Layout>vertical</Layout>
        <SizePolicy>min,me</SizePolicy>
        <MaximumSize>-1,136</MaximumSize>
        <Children>
          <SingletonContainer>
            <ObjectName>VUMeterDeck<Variable name="chanNum"/></ObjectName>
          </SingletonContainer>
          <WidgetGroup><Size>1min,5f</Size></WidgetGroup>
          <WidgetGroup>
            <ObjectName>VUMeterLabel<Variable name="Label"/></ObjectName>
            <Size>16f,20f</Size>
          </WidgetGroup>
          <WidgetGroup><Size>1min,2f</Size></WidgetGroup>
        </Children>
      </WidgetGroup><!-- VU incl. Label -->
      <WidgetGroup><Size>0f,0me</Size></WidgetGroup>
    </Children>
  </WidgetGroup>
</Template>
