<?xml version="1.0" encoding="UTF-8"?>
<configs>

  <remove xpath="/windows/window[@name='itemInfoPanel']/rect[@name='contentInfo']"/>

  <append xpath="/windows/window[@name='itemInfoPanel']">
    <!-- ICI tu colles le rect contentInfo COMPLET depuis le vanilla -->
    	<rect name="contentInfo" height="346" depth="1" pos="0,-46" >
			<sprite depth="5" name="backgroundMain" sprite="menu_empty3px" width="603" height="347" color="[black]" type="sliced" fillcenter="false" />
			<rect depth="1" pos="3,0" name="preview" width="147" height="130">
				<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="153" height="133" color="[black]" type="sliced" fillcenter="false" />
				<sprite depth="1" color="[darkGrey]" pos="0,0" type="sliced" globalopacity="true" />
				<sprite depth="1" color="[black]" width="300" height="276" pos="600,-1" type="sliced" globalopacity="true" />
				<sprite depth="2" color="[darkGrey]" width="294" height="270" pos="600,-1" type="sliced" globalopacity="true" />
				<sprite depth="7" name="itemPreview" width="260" height="260" atlas="ItemIconAtlas" sprite="{itemicon}" color="{itemicontint}" pos="750,-125" pivot="center" foregroundlayer="true"/>
				<sprite depth="7" name="itemPreview" width="110" height="110" atlas="ItemIconAtlas" sprite="{itemicon}" color="{itemicontint}" pos="74,-58" pivot="center" foregroundlayer="true"/>
				<sprite depth="12" name="itemtypeicon" width="32" height="32" sprite="ui_game_symbol_{itemtypeicon}" pos="4,-8" foregroundlayer="true" visible="{hasitemtypeicon}" color="{itemtypeicontint}" />
				<sprite depth="4" name="durabilityBackground" height="20" width="145" color="48,48,48,255" type="sliced" pos="1, -107" visible="{hasdurability}"/>
				<filledsprite depth="5" name="durabilityBar" height="20" width="145" color="{durabilitycolor}" type="filled" pos="1, -107" fill="{durabilityfill}" visible="{hasdurability}" />
				<label depth="12" name="durabilityValue" pos="0,-98" width="145" height="32" text="{durabilitytext}" font_size="30" justify="{durabilityjustify}" effect="outline" visible="false"/>
			</rect>

			<sprite depth="8" name="backgroundMain" sprite="menu_empty3px" pos="0,-130" width="153" height="216" color="[black]" type="sliced" fillcenter="false" />
			<rect pos="3,-133" width="147" height="100%" visible="{shownormaloptions}" >
				<grid name="itemActions" rows="5" cols="1" pos="0,0" width="147" height="100%" cell_width="147" cell_height="42" controller="ItemActionList"
					repeat_content="true" visible="false">
					<item_action_entry />
				</grid>
			</rect>

			<rect pos="3,-132" width="147" height="100%" visible="{showtraderoptions}" >
				<sprite color="[mediumGrey]" type="sliced" height="44" />
				<rect name="counterControl" width="120" height="42" pos="27,0" controller="Counter">
					<button depth="2" name="countDown" style="icon30px, press, held" pos="-10,-20" sprite="ui_game_symbol_arrow_left" pivot="center" sound="[paging_click]"/>
					<textfield name="count_input" depth="2" pos="7,-6" width="40" height="28" character_limit="4" validation="integer" virtual_keyboard_prompt="vkPromptCount" />
					<button depth="2" name="countUp" style="icon30px, press, held" pos="64,-20" sprite="ui_game_symbol_arrow_right" pivot="center" sound="[paging_click]"/>
					<button depth="2" name="countMax" style="icon30px, press" pos="96,-20" sprite="ui_game_symbol_arrow_max" pivot="center" sound="[paging_click]"/>
				</rect>
				<grid name="vendorItemActions" rows="4" cols="1" pos="0,-43" width="147" height="100%" cell_width="147" cell_height="42" controller="ItemActionList"
					repeat_content="true" visible="false">
					<item_action_entry />
				</grid>
			</rect>

			<!-- <sprite depth="3" name="fillerBackground" pos="3,-343" height="15" width="147" color="[mediumGrey]" type="sliced"/> -->

		<rect depth="2" name="searchControls" width="448" height="43" pos="152,0" visible="{showstatanddescription}">
			<sprite depth="1" color="[mediumGrey]" type="sliced" globalopacity="true" width="449" height="44" />
			<button depth="4" name="statButton" style="icon30px, press" pos="22,-22" sprite="ui_game_symbol_ping" pivot="center" tooltip="Stats" tooltip_key="lblStats" sound="[paging_click]" selected="true" />
			<button depth="4" name="descriptionButton" style="icon30px, press" pos="65,-22" sprite="ui_game_symbol_book" pivot="center" tooltip="Description" tooltip_key="lblDescription" sound="[paging_click]" />
		</rect>

			<rect depth="1" pos="153,0" name="description" width="447" height="271" visible="{showonlydescription}">
				<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" />
				<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="453" height="272" color="[black]" type="sliced" fillcenter="false" />

				<label depth="3" name="descriptionText" pos="6,-5" text="{itemdescription}"  width="440" parse_actions="true" />

				<!--label depth="3" name="statText" pos="6,-2" width="254" height="100%" text="{itemstats1}" />
				<label depth="3" name="statText2" pos="227,-2" width="220" height="100%" text="{itemstats2}" /> -->
			</rect>

			<rect depth="1" pos="153,-43" name="description" width="447" height="228" visible="{showstatanddescription}">

				<sprite depth="3" name="backgroundMain" sprite="menu_empty3px" pos="-3,0" width="453" height="229" color="[black]" type="sliced" fillcenter="false" />
				<rect depth="3" visible="{showstats}" width="453">
					<rect pos="-3,0" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="35" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="34" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle1}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat1}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-33" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="34"  color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkGrey]" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle2}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat2}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-64" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="34" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="33" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle3}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat3}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-94" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="36"  color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkGrey]" type="sliced" />
						<label depth="3" pos="10,-4" width="430" font_size="26" text="{itemstattitle4}" justify="left" color="[white]" />
						<label depth="3" pos="10,-4" width="430" font_size="26" text="{itemstat4}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-127" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="35" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="34" type="sliced" />
						<label depth="3" pos="10,-4" width="430" font_size="26" text="{itemstattitle5}" justify="left" color="[white]" />
						<label depth="3" pos="10,-4" width="430" font_size="26" text="{itemstat5}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-159" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="36"  color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkGrey]" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle6}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat6}" justify="right" color="[selectedColor]" />
					</rect>
					<rect pos="-3,-192" height="35">
						<sprite depth="8" sprite="menu_empty3px" height="36" color="[black]" type="sliced" fillcenter="false" />
						<sprite depth="1" color="[darkestGrey]" pos="0,-1" height="35" type="sliced" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstattitle7}" justify="left" color="[white]" />
						<label depth="3" pos="10,-3" width="430" font_size="26" text="{itemstat7}" justify="right" color="[selectedColor]" />
					</rect>
				</rect>

				<rect visible="{showdescription}">
					<sprite depth="1" color="[darkGrey]" type="sliced" globalopacity="true" />
					<label depth="3" name="descriptionText" pos="6,-5" text="{itemdescription}"  width="440" parse_actions="true" />
				</rect>
				<!--label depth="3" name="statText" pos="6,-2" width="254" height="100%" text="{itemstats1}" />
				<label depth="3" name="statText2" pos="227,-2" width="220" height="100%" text="{itemstats2}" /> -->
			</rect>

			<grid name="parts" rows="1" cols="6" pos="153,-271" cell_width="75" cell_height="75" repeat_content="true" controller="PartList" visible="{isnotcomparing}">
				<item_stack name="0"/>
			</grid>
			<rect visible="{iscomparing}" pos="153,-271" width="450" height="75">
				<sprite depth="1" color="[mediumGrey]" type="sliced" globalopacity="true" />
				<label depth="3" name="descriptionText" pos="6,-20" text_key="xuiCompareNoModded" justify="center" color="[selectedColor]" />
			</rect>
		</rect>
  </append>

</configs>