<panel>

  <layout class="stick_to_sides_attachment" alignment="all" inset="0"/>
  <layout class="arrange_vertical_attachment" alignment="bottom,extend" inset="0" offset="0"/>
  <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>




<container class="vertical_adaptive_container" id="midl" offset="0">
<layout class="arrange_vertical_attachment" offset="0" gap="3"/>



  <!--top panel-->
  <container class="horizontal_adaptive_container" default_height="-3" priority="1" offset="0" inset="0" gap="5">



    <!--left panel -->

    <container class="vertical_adaptive_container" id="left" offset="0" inset="0" default_width="450" priority="1" minimum_width="-3" gap="3">

	        <container contents_kind="plain_box" top_kind="tab_strip" default_item="sdgds" save_current_state="true"  default_height="430" priority="1">
	        <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/>

		  <widget class="player_personal_details_panel" title="Personal Details" file="bergkamp staff personal details panel default"  id="sdgds" priority="1" default_height="-2" >
			<record id="object_property">
			  <integer id="get_property" value="objt" />
			  <integer id="set_property" value="objt" />
			</record>
		  </widget>


	        </container>

	              <container class="subsection_box" default_item="patp" default_height="-1" minimum_height="122" priority="2">
         	      <translation id="title" translation_id="333981" type="use" value="Personal Information[COMMENT: Player information; section title]" />
	              <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/>
       	      	        <widget class="person_personal_information_panel" id="PerI" file="bergkamp staff person personal information" vertical="true">
         	          <record id="object_property">
           	            <integer id="get_property" value="objt" />
          	            <integer id="set_property" value="objt" />
         	          </record>
        	        </widget>
                      </container>

		      <container default_height="-2" priority="1">
		      <layout class="arrange_horizontal_attachment" alignment="top" offset="0" gap="5" layout="-1, -1"/>
		      <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0"/>

	                   <!-- non_player_roles -->
                           <container class="plain_box" default_height="-1" priority="1">
                           <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

                             <widget class="non_player_roles_panel" id="nprp" file="bergkamp non player roles"/>
                           </container>

	                   <!-- non_player_knowledge -->
                           <container class="plain_box" default_height="-1" priority="1">
                           <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

                             <widget class="non_player_knowledge_panel" id="npkn" file="bergkamp non player knowledge"/>
                           </container>

		      </container>

    </container>




    <!--middle panel-->
    <container class="vertical_adaptive_container" id="rig" offset="0" inset="0" default_width="-2" priority="1" minimum_width="-2" gap="3">

                      <container class="subsection_box"  default_height="115" minimum_height="115" priority="1">
                        <translation id="title" translation_id="230056" type="use" value="Tactics" />
                        <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />
                        <widget class="table" mode="fill_rows, stripe_rows, printable" id="nptt" layout="-1,-1,-1,-1" auto_size_rows="true" stretch_to_fit_rows="true" row_spacing="0">
                          <layout class="stick_to_sides_attachment" alignment="bottom" inset="0"/>

                          <boolean id="scst" value="true"/>
                          <boolean id="sdst" value="true"/>

                          <!--<list id="headings">
                            <record text="Tactics" alignment="left, centre_y" column_span="4"/>
                          </list>-->

                          <list id="column_properties">
                            <record indx="0" alignment="left,centre_y" spec="text"/>
                            <record indx="1" alignment="left,centre_y" colour="selection"/>
                            <record indx="2" alignment="left,centre_y" spec="text"/>
                            <record indx="3" alignment="left,centre_y" colour="selection"/>
                          </list>

                          <list id="column_display_properties">
                            <record indx="0" left="4" sort_disabled="true"/>
                            <record indx="1" rght="4" sort_disabled="true"/>
                            <record indx="2" left="4" sort_disabled="true"/>
                            <record indx="3" rght="4" sort_disabled="true"/>
                          </list>
                        </widget>
                      </container>

	             <container class="plain_box" default_item="patp" save_current_state="false" default_height="240" priority="1" title="Attributes" appearance="boxes/bordered/paper">
	             <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/>

                         <!-- Attributes Container -->
                         <widget class="non_player_attributes_panel" id="patp" title="Attributes" file="bergkamp non player attributes panel">
                           <layout class="stick_to_sides_attachment" alignment="vertical" inset="0"/>
                         </widget>

                      </container>

		      <container default_height="-1" priority="1">
		      <layout class="arrange_horizontal_attachment" alignment="top" offset="0" gap="5" layout="-1, -1"/>
		      <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0"/>

                           <container class="subsection_box" default_height="-1">
                           <translation id="title" translation_id="230163" type="use" value="Contract" />
                             <layout class="arrange_vertical_attachment" alignment="top" offset="0" />
                             <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0" />
                               <widget class="non_player_contract_panel" id="npcp" file="bergkamp non player contract"/>
                           </container>

		           <!-- Backroom advice knowledge for staff as long as they aren't human and they are a both a player and a coach -->
                           <container class="subsection_box" default_height="-1">
                           <translation id="title" translation_id="296527" type="use" value="Backroom Advice" />
	                     <layout class="stick_to_sides_attachment" alignment="all" inset="0" layout_children="true"/>
                             <widget class="backroom_advice_knowledge_panel" id="bac2">
                               <record id="object_property">
                                 <integer id="get_property" value="objt" />
                                 <integer id="set_property" value="objt" />
                               </record>
                             </widget>
                           </container>

		      </container>

		      <container default_height="-1" minimum_height="205" priority="2">
		      <layout class="arrange_horizontal_attachment" alignment="top" offset="0" gap="5" layout="-1, -1"/>
		      <layout class="stick_to_sides_attachment" alignment="vertical" layout_children="true" inset="0"/>

                           <!-- Happiness -->
                           <container class="subsection_box">
                             <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">
                               <record id="object_property">
                                 <integer id="get_property" value="objt" />
                                 <integer id="set_property" value="objt" />
                               </record>
                             </widget>
                           </container>

                           <!-- Tendencies (non-players) -->
                           <container class="subsection_box" id="npt1">
                             <translation id="title" translation_id="347330" type="use" value="Tendencies[COMMENT: Non person information; title for a list of tendencies/inclinations that the person may have]" />
                             <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" inset="0" />

                             <widget class="non_player_tendencies_panel" id="nptp">
                               <record id="object_property">
                                 <integer id="get_property" value="objt" />
                                 <integer id="set_property" value="objt" />
                               </record>
                             </widget>
                           </container>

		      </container>
    </container>


    <!-- Right column (only for adpative) -->
    <container class="vertical_adaptive_container" mode="distribute_equally" minimum_width="300" default_width="-1" priority="3" gap="2" inset="0">
      <layout class="arrange_vertical_attachment" alignment="top" offset="0" gap="4" layout="-1,-1"/>
      <layout class="stick_to_sides_attachment" alignment="horizontal" layout_children="true" inset="0"/>

      <!-- Club history -->
      <container class="subsection_box" id="carC" priority="1" default_height="-1">
        <translation id="title" translation_id="229719" type="use" value="History" />
        <layout class="arrange_vertical_attachment" alignment="bottom, extend" offset="0" gap="4" />

        <!-- Achievement history -->
        <container class="person_club_achievements_history_list_panel" id="calp">
          <layout class="stick_to_sides_attachment" alignment="horizontal" />

          <record id="object_property">
            <integer id="get_property" value="objt" />
            <integer id="set_property" value="objt" />
          </record>
        </container>

        <!-- Link to full career history -->
        <widget class="link_button" section="PHac" auto_size="all">
          <translation id="text" translation_id="329749" type="use" value="Career Achievements" />
          <layout class="stick_to_sides_attachment" alignment="right" />
        </widget>
      </container>   

      <container class="subsection_box" default_height="-1">
        <translation id="title" translation_id="319477" type="use" value="History Summary[COMMENT: manager overview; section heading]" />
        <layout class="stick_to_sides_attachment" alignment="all" layout_children="true" />

        <widget class="non_player_history_summary_panel" id="nphs" RpHn="false" dfnp="true">
          <record id="object_property">
            <integer id="get_property" value="objt" />
            <integer id="set_property" value="objt" />
          </record>
        </widget>
      </container>


    </container>

  </container>


</container>
</panel>