Buggi
New member
I've been messing around with the UI and I've run into a weird issue. I can't seem to get the title bar for this storage crate to shrink down. I've gone through all the windows, controls, and styles and cannot figure out what is causing this. I have a similar issue with the minibike storage.
Anyone out there with a few tips. I also did a search around for UI tips/tricks/tutorials and found nothing. I know there are some great UI mods, and I've been working on customizing one (The PZHUD). But this issue is really bugging me.

Here's the code for that window:
What does the "depth" value represent?!? The game seems to ignore my width and height settings.
Anyone out there with a few tips. I also did a search around for UI tips/tricks/tutorials and found nothing. I know there are some great UI mods, and I've been working on customizing one (The PZHUD). But this issue is really bugging me.

Here's the code for that window:
Code:
<window name="S420windowLooting" width="328" height="378" controller="LootWindow" panel="Left" anchor_side="bottomright" visible="false" cursor_area="true" >
<panel name="header" height="43" depth="0" disableautobackground="true">
<sprite depth="1" name="headerbackground" sprite="ui_game_panel_header"/>
<button depth="3" name="btnSort" style="icon32px, press, hover" pivot="center" pos="21,-21" sprite="ui_game_symbol_loot_sack" tooltip_key="lblSortContainer" sound="[paging_click]" />
<label depth="2" name="lootName" pos="39,-6" width="172" height="32" text="LOOT" text_key="xuiLoot" font_size="32" />
<label depth="2" name="takeAllLabel" width="32" height="30" font_size="30" color="[mediumGrey]" justify="left" pos="260,-8"/>
<sprite depth="2" name="takeAllIcon" style="icon32px" sprite="ui_game_symbol_hand" color="[mediumGrey]" pos="220, -4"/>
</panel>
<sprite depth="0" name="gridBackground" color="255,255,255,1" type="sliced" pos="0, 0" globalopacity="true" on_press="true" />
<rect name="content" pos="3,-49" >
<grid depth="12" name="queue" rows="14" cols="12" cell_width="50" cell_height="50" repeat_content="true" controller="LootContainer">
<Small_Item_Stack name="0"/>
</grid>
</rect>
</window>