<?xml version='1.0' encoding='utf-8'?>
<panel>
<translation id="title" type="new" value="Player Profile Panel" />
<layout class="arrange_horizontal_attachment" offset="-6" layout="-3,0" gap="-4" />
<layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />
  <!-- Set Current View -->
  <integer id="current_view_menu" value="attv" />
  <!-- MAIN AREA -->
  <container class="plain_box" id="atit">
    <layout class="arrange_vertical_attachment" alignment="bottom, extend" offset="0" gap="0" />
    <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
    <layout class="stick_to_sides_attachment" alignment="vertical" inset="0" />
    <container class="vertical_adaptive_container" id="PLPR" inset="0" offset="0" gap="4">
      <container class="horizontal_adaptive_container" default_height="-3" priority="1">
        <layout class="arrange_horizontal_attachment" offset="2" gap="4" />
        <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />
        <container class="vertical_adaptive_container" default_width="-43" priority="1">
          <layout class="arrange_vertical_attachment" alignment="bottom, extend" offset="0" gap="4" />
          <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
            <container id="pdet" file="bergkamp player profile personal details" default_height="400" priority="1"/>
            <container class="bordered_box"  default_height="-3" priority="1">
              <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
              <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />
                <!-- Personal Details -->
                <container id="pdet" file="bergkamp person personal information"/>
            </container>
        </container>
        <container class="vertical_adaptive_container" default_width="-70" priority="1">
          <layout class="arrange_vertical_attachment" alignment="bottom, extend" offset="0" gap="3" />
          <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
          <!-- Attributes Container -->
          <container class="plain_box" default_height="-11" minimum_height="362" priority="1">
          <container class="subsection_box" id="ppm1" default_width="-3" priority="1">
            <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="5" />
            <translation id="title" translation_id="229822" type="use" value="Attributes" />
              <!-- buttons area -->
              <container id="btna" embed_in_frame="true">
                <layout class="arrange_horizontal_attachment" alignment="right" embed_in_frame="true" gap="10" offset="10" />
                <layout class="stick_to_sides_attachment" alignment="top" inset="6" layout_children="true" embed_in_frame="true" />
                <layout class="stick_to_sides_attachment" alignment="top,right" embed_in_frame="true" inset="0" />
                <layout class="fit_children_attachment" alignment="vertical" embed_in_frame="true" />
                <layout class="fit_children_attachment" alignment="horizontal,fill" embed_in_frame="true" gap="10" offset="10" />
                <!-- player view menu -->
                <widget class="check_box" id="shtr" click_event="shtc" embed_in_frame="true" alignment="centre" auto_size="horizontal" save_current_state="true" save_default_state="true">
                  <translation id="text" translation_id="258284" type="use" value="Show recent attribute changes[COMMENT: text on player_profile panel to toggle the attribute change arrows RE-TRANSLATE FOR FM2008]" />
                </widget>
                <widget class="player_roles_popup_button" id="skpa" show_clear_item="true" click_event="skpa" embed_in_frame="true" alignment="centre" appearance="menu/embedded" auto_size="all" fixed="true" spec="text,small" show_selected_role="true">
                  <translation id="text" translation_id="330016" type="use" value="Highlight key attributes for role[COMMENT: option allowing for viewing the key attributes needed to play in a certain role]" />
                </widget>
              </container>
              <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
              <container class="player_attributes_panel" id="patp" file="player attributes panel" highlight_attributes="true">
                <layout class="stick_to_sides_attachment" alignment="all" inset="0" />
              </container>
            </container>
          </container>
          <container default_height="60" priority="2">
            <layout class="arrange_vertical_attachment" offset="3" layout="-1" gap="0" />
            <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
            <!-- player physical stats -->
            <widget class="player_physical_stats_panel" id="ppsp" file="bergkamp player physical stats panel" late_loading="true" default_width="-1">
            <translation id="title" translation_id="230003" type="use" value="Physical" />
              <record id="object_property">
                <integer id="get_property" value="objt"/>
                <integer id="set_property" value="objt"/>
              </record>
            </widget>
          </container>
          <container class="bordered_box" default_height="-3" minimum_height="90" priority="3">
            <layout class="arrange_vertical_attachment" offset="3" layout="-1" gap="0" />
            <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
              <translation id="title" translation_id="247569" type="use" value="Bans" />
            <widget class="player_bans_overview_panel" id="pbop" late_loading="true">
              <record id="object_property">
                <integer id="get_property" value="objt"/>
                <integer id="set_property" value="objt"/>
              </record>
            </widget>
          </container>
          <container default_height="170" priority="1">
            <layout class="arrange_vertical_attachment" offset="3" layout="-1" gap="0" />
            <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
              <!-- Player Stats -->
              <container class="player_stats_panel" id="pstp" file="bergkamp player stats" default_width="-7" minimum_width="-7" priority="1"/>
          </container>
        </container>
      </container>

      <container class="plain_box" default_height="-1" minimum_height="200" priority="2">
        <layout class="arrange_horizontal_attachment" offset="0" layout="-1,-1,-1,-1" gap="4" />
        <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0" />
        <!-- Happiness -->
        <container class="subsection_box" id="php" title="Happiness">
        <translation id="title" translation_id="247463" type="use" value="Happiness" />
          <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />
          <widget class="person_happiness_panel" id="phap" file="bergkamp person happiness">
            <record id="object_property">
              <integer id="get_property" value="objt"/>
              <integer id="set_property" value="objt"/>
            </record>
          </widget>
        </container>
        <!-- Preferred moves (players)-->
        <container class="subsection_box" id="ppm1" default_width="-3" priority="1">
          <translation id="title" translation_id="229993" type="use" value="Preferred Moves" />
          <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />
          <widget class="preferred_moves_panel" file="bergkamp player information preferred moves" id="pfmp">
            <record id="object_property">
              <integer id="get_property" value="objt" />
              <integer id="set_property" value="objt" />
            </record>
          </widget>
        </container>
        <container class="subsection_box">
        <translation id="title" translation_id="227813" type="use" value="Form" />
          <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />
          <widget class="player_form_overview_panel" id="pfop" late_loading="true">
          <translation id="title" translation_id="227813" type="use" value="Form" />
            <record id="object_property">
              <integer id="get_property" value="objt" />
              <integer id="set_property" value="objt" />
            </record>
          </widget>
        </container>
        <!--form-->
        <container class="subsection_box" height="133">
          <translation id="title" translation_id="247582" type="use" value="Match Ratings[COMMENT - player form section; title for match rating graph box]" />
          <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true" />
          <widget class="player_form_summary_panel" id="Pfor" file="bergkamp player form summary panel profile" />
        </container>
      </container>
    </container>
  </container>
</panel>