2 Attachment(s)
Party inventory control only rendering for host
Hello,
I am extending my search extension to add a search control to the party inventory ("ps_inventory"). I am merging my windowclass with that one, and it works well from the host side. The weird thing is that connected clients do not get the search input box, but they do see the empty text placeholder ("Search"). The code is straightforward:
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<root>
<windowclass name="ps_inventory" merge="join">
<script file="scripts/inventory_search.lua"/>
<sheetdata>
<basicstring name="inv_search_input">
<anchored to="itemlist" position="aboveleft" offset="5,25" width="100"/>
<empty>
<textres>search</textres>
</empty>
<tabtarget next="inv_search_input" prev="itemlist"/>
</basicstring>
<buttoncontrol name="inv_search_clear_btn">
<anchored to="inv_search_input" position="right" offset="10,0" relation="relative" width="20"/>
<icon normal="button_clear" pressed="button_clear_down"/>
<invisible/>
<tooltip textres="tooltip_clear"/>
</buttoncontrol>
</sheetdata>
</windowclass>
</root>
This is the host view:
Attachment 50830
This is the client view:
Attachment 50831