diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2011-05-17 16:01:29 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2011-05-17 16:01:29 -0700 |
commit | dfebb9ebb7333387d59aa7ba4e5926671d6681f5 (patch) | |
tree | 720cadbb22281467b2210ccc4720125ded00a93a | |
parent | e8b0db53b2dbfab3fc060fefb6abb2d6dcf31fe9 (diff) |
hooking up the marketplace inventory panel to the class
-rw-r--r-- | indra/newview/llpanelmarketplaceinventory.cpp | 1 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/sidepanel_inventory.xml | 60 |
2 files changed, 32 insertions, 29 deletions
diff --git a/indra/newview/llpanelmarketplaceinventory.cpp b/indra/newview/llpanelmarketplaceinventory.cpp index be2cef3601..2a56a9959a 100644 --- a/indra/newview/llpanelmarketplaceinventory.cpp +++ b/indra/newview/llpanelmarketplaceinventory.cpp @@ -27,6 +27,7 @@ #include "llpanelmarketplaceinventory.h" +static LLRegisterPanelClassWrapper<LLPanelMarketplaceInventory> t_panel_marketplace_inventory("panel_marketplace_inventory"); // protected LLPanelMarketplaceInventory::LLPanelMarketplaceInventory() diff --git a/indra/newview/skins/default/xui/en/sidepanel_inventory.xml b/indra/newview/skins/default/xui/en/sidepanel_inventory.xml index 5f6ef16cf0..faf5e28bb8 100644 --- a/indra/newview/skins/default/xui/en/sidepanel_inventory.xml +++ b/indra/newview/skins/default/xui/en/sidepanel_inventory.xml @@ -28,7 +28,10 @@ name="inventory_layout_stack" height="545" width="330"> - <layout_panel> + <layout_panel + width="330" + follows="bottom|left|right" + height="445"> <panel class="panel_main_inventory" filename="panel_main_inventory.xml" @@ -45,6 +48,16 @@ width="330" follows="bottom|left|right" height="100"> + <panel + class="panel_marketplace_inventory" + follows="all" + layout="topleft" + left="0" + name="panel_marketplace" + top="0" + label="" + height="100" + width="330"> <accordion follows="all" fit_parent="true" @@ -58,41 +71,30 @@ width="311"> <accordion_tab name="tab_clothing" - height="35" + height="35" + min_height="150" + fit_panel="false" title="MARKETPLACE INBOX"> - <flat_list_view - allow_select="true" - follows="all" - height="30" - item_pad="3" - keep_selection_visible_on_reshape="false" - layout="topleft" - left="0" - multi_select="true" - name="list_clothing" - top="0" - width="311" /> + <view + follows="all" + left="0" + height="40" + top="0" + /> </accordion_tab> <accordion_tab name="tab_attachments" + fit_panel="false" title="MARKETPLACE OUTBOX"> - <flat_list_view - allow_select="true" - follows="all" - height="30" - item_pad="3" - layout="topleft" - left="0" - keep_selection_visible_on_reshape="false" - multi_select="true" - name="list_attachments" - top="0" - width="311"> - <flat_list_view.no_items_text - value="No attachments worn" /> - </flat_list_view> + <view + follows="all" + height="35" + left="0" + top="0" + /> </accordion_tab> </accordion> + </panel> </layout_panel> </layout_stack> <panel |