<?xml version='1.0' encoding='utf-8'?>
<panel>
  <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="0" />
  <layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" layout_children="true" />
  <layout class="fit_children_attachment" alignment="vertical,fill" offset="0" gap="0" />

  <container class="bordered_box" appearance="button/tabs/side/selected/button" id="borb">
    <layout class="arrange_vertical_attachment" alignment="top" offset="6" gap="3" />
    <layout class="stick_to_sides_attachment" alignment="horizontal" inset="4" layout_children="true" />
    <layout class="fit_children_attachment" alignment="vertical,fill" offset="4" gap="3" />

    <!--formation drop down and button to remove-->
    <container height="27" id="frmC">
      <layout class="arrange_horizontal_attachment" alignment="right,extend" offset="0" gap="0" />
      <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true" />

      <widget class="popup_button" id="frma" fixed="true" size="10" icon="menu/down" icon_alignment="right,can_scale">
        <event id="click_notification_event" event_id="FCHA" item="NULL" event_target="frma" />
        <event id="menu_layout_notification_event" event_id="temn" event_target="frma" />
      </widget>
      <widget class="label" id="frmt" alignment="left,centre_y" colour="white" inset="7" size="10" appearance="menu/tactics sidebar/button" />
      <!--<widget class="icon_button" auto_size="none" id="sets" appearance="menu/tactics sidebar/button" icon="icons/tactic/current" icon_alignment="centre,can_scale" width="17">
        <translation id="hint" translation_id="318315" type="use" value="Set as starting tactic[COMMENT: hint to tell the user that this button will set the tactic by the button to be the tactic used to start the next match]" />
      </widget>-->
      <widget class="icon_button" auto_size="none" id="remo" click_event="remo" appearance="menu/tactics sidebar/button" icon="icons/button/remove from list" icon_alignment="right" width="17">
        <translation id="hint" translation_id="318316" type="use" value="Remove tactic[COMMENT: hint to tell the user that this button will remove the tactic by the button from being prepared for the upcoming match]" />
      </widget>
    </container>

    <!--familiarity-->
    <container height="27" id="famC">

      <layout class="arrange_horizontal_attachment" alignment="left,extend" layout="-3,-2,0" offset="0" gap="10" />

      <widget class="label" id="FAMI" alignment="centre_y" spec="text" colour="title" auto_size="horizontal">
        <translation id="text" translation_id="318317" type="use" value="Familiarity[COMMENT: match preparation training tactics; label to indicate how well the squad is versed in a tactic which they're working upon]" />
        <layout class="stick_to_sides_attachment" alignment="left" inset="3" />
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="2" />
      </widget>
      <widget class="horizontal_percentage_bar" id="fami" label_width="0" height="16" click_event="Fami" bar_value_colour="red">
        <translation id="hint" translation_id="326040" type="use" value="Click to see the full breakdown of tactic familiarity levels[COMMENT: hint to the user to tell them that clicking on this widget will show them a panel with their team's levels of tactical familiarity]" />
        <layout class="centre_in_parent_attachment" alignment="vertical" inset="0" />
      </widget>

      <!--This is a button overlay to make the horizontal percentage bar look more like you can click on it -->     
      <widget class="button" appearance="" click_event="Fami" id="FamB">
        <translation id="hint" translation_id="326040" type="use" value="Click to see the full breakdown of tactic familiarity levels[COMMENT: hint to the user to tell them that clicking on this widget will show them a panel with their team's levels of tactical familiarity]" />
        <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
        <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" />
      </widget>


    </container>

    <!--options drop down-->
    <container height="25" id="optC">
      <layout class="arrange_horizontal_attachment" alignment="right" offset="0" gap="0" />
      <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" layout_children="true" />

      <widget class="popup_button" id="opti" auto_size="horizontal" fixed="true" appearance="menu/embedded">
        <translation id="text" translation_id="292829" type="use" value="Options[COMMENT: menubar game options button]" />
      </widget>
    </container>
  </container>
</panel>