diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-06-13 08:45:13 +0200 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2023-06-15 01:12:17 +0200 |
commit | 7ac094e92105122b22b4693dafae7f0cee72d9a0 (patch) | |
tree | 016645ab98d8535a59ac346d0b958e8dce0e6e98 /indra/newview/skins/default | |
parent | 275fa896c0cc35acee24d7fc4e952ab73428b7f8 (diff) |
SL-18977 Borders of inventory view in inventory floater seem to be cut a bit
Diffstat (limited to 'indra/newview/skins/default')
3 files changed, 351 insertions, 392 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_my_inventory.xml b/indra/newview/skins/default/xui/en/floater_my_inventory.xml index a9900f05b7..b75744d432 100644 --- a/indra/newview/skins/default/xui/en/floater_my_inventory.xml +++ b/indra/newview/skins/default/xui/en/floater_my_inventory.xml @@ -1,22 +1,22 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <floater + name="floater_my_inventory" + title="INVENTORY" + help_topic="sidebar_inventory" positioning="cascading" - can_close="true" - can_resize="true" + width="363" height="570" - help_topic="sidebar_inventory" min_width="363" min_height="270" - name="floater_my_inventory" + can_close="true" + can_resize="true" save_rect="true" save_visibility="true" - reuse_instance="true" - title="INVENTORY" - width="363" > - <panel - class="sidepanel_inventory" - name="main_panel" - filename="sidepanel_inventory.xml" - follows="all" - top="0"/> + reuse_instance="true" > + <panel + name="main_panel" + class="sidepanel_inventory" + filename="sidepanel_inventory.xml" + follows="all" + top="0" /> </floater> diff --git a/indra/newview/skins/default/xui/en/panel_main_inventory.xml b/indra/newview/skins/default/xui/en/panel_main_inventory.xml index 64b885c222..b170885178 100644 --- a/indra/newview/skins/default/xui/en/panel_main_inventory.xml +++ b/indra/newview/skins/default/xui/en/panel_main_inventory.xml @@ -1,13 +1,12 @@ <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <panel + name="main inventory panel" follows="all" height="423" label="Things" layout="topleft" min_height="300" - min_width="240" - name="main inventory panel" - width="355"> + min_width="240" > <panel.string name="Itemcount"> </panel.string> @@ -27,18 +26,18 @@ <panel.string name="default_mode_btn">Multi_Folder_Mode</panel.string> <panel.string name="single_folder_mode_btn">Single_Folder_Mode</panel.string> <text - type="string" - length="1" - follows="left|top|right" - height="13" - layout="topleft" - left="12" - name="ItemcountText" - font="SansSerifMedium" - text_color="InventoryItemLinkColor" - use_ellipses="true" - top_pad="0" - width="300"> + name="ItemcountText" + type="string" + length="1" + follows="left|top|right" + layout="topleft" + height="13" + left="10" + right="-10" + font="SansSerifMedium" + text_color="InventoryItemLinkColor" + use_ellipses="true" + top_pad="0"> Items: </text> <layout_stack @@ -46,298 +45,282 @@ height="25" animate="false" top_pad="10" - left="2" + left="8" orientation="horizontal"> <layout_panel + name="nav_buttons" + width="65" + height="25" border="false" bevel_style="in" user_resize="false" auto_resize="false" - height="25" - width="65" - name="nav_buttons" visible="false"> - <button - follows="top|left" - height="23" - image_selected="Single_Folder_Back" - image_pressed="Single_Folder_Back" - image_unselected="Single_Folder_Back" - scale_image="false" - layout="topleft" - left="3" - top="2" - name="back_btn" - tool_tip="Back" - width="20" /> - <button - follows="top|left" - height="23" - image_selected="Single_Folder_Forward" - image_pressed="Single_Folder_Forward" - image_unselected="Single_Folder_Forward" - scale_image="false" - layout="topleft" - left_pad="1" - name="forward_btn" - tool_tip="Forward" - width="20" /> - <button - follows="top|left" - height="23" - image_selected="Single_Folder_Up" - image_pressed="Single_Folder_Up" - image_unselected="Single_Folder_Up" - scale_image="false" - layout="topleft" - left_pad="1" - name="up_btn" - tool_tip="Go up one level" - width="20" /> + <button + name="back_btn" + follows="top|left" + image_selected="Single_Folder_Back" + image_pressed="Single_Folder_Back" + image_unselected="Single_Folder_Back" + scale_image="false" + layout="topleft" + top="2" + left="3" + width="20" + height="23" + tool_tip="Back" /> + <button + name="forward_btn" + follows="top|left" + image_selected="Single_Folder_Forward" + image_pressed="Single_Folder_Forward" + image_unselected="Single_Folder_Forward" + scale_image="false" + layout="topleft" + width="20" + height="23" + left_pad="1" + tool_tip="Forward" /> + <button + name="up_btn" + follows="top|left" + image_selected="Single_Folder_Up" + image_pressed="Single_Folder_Up" + image_unselected="Single_Folder_Up" + scale_image="false" + layout="topleft" + width="20" + height="23" + left_pad="1" + tool_tip="Go up one level" /> </layout_panel> <layout_panel - border="false" - bevel_style="in" - user_resize="false" - height="25" - width="375" - visible="true"> + width="381" + height="25" + border="false" + bevel_style="in" + user_resize="false"> <combo_box - height="23" - layout="topleft" - left="2" - top="0" name="search_type" - tool_tip="Search by" follows="top|left" - width="67"> - <item - label="Name" - name="Name" - value="search_by_name"/> - <item - label="Creator" - name="Creator" - value="search_by_creator"/> - <item - label="Description" - name="Description" - value="search_by_description"/> - <item - label="UUID" - name="UUID" - value="search_by_UUID"/> + layout="topleft" + left="2" + width="67" + height="23" + tool_tip="Search by" > + <item + name="Name" + label="Name" + value="search_by_name"/> + <item + name="Creator" + label="Creator" + value="search_by_creator"/> + <item + name="Description" + label="Description" + value="search_by_description"/> + <item + name="UUID" + label="UUID" + value="search_by_UUID"/> </combo_box> <menu_button + name="options_visibility_btn" follows="top|left" - tool_tip="Search visibility options" - height="23" - image_overlay="Inv_Toolbar_SearchVisibility" layout="topleft" + width="31" + height="23" left_pad="1" - name="options_visibility_btn" - width="31" /> + tool_tip="Search visibility options" + image_overlay="Inv_Toolbar_SearchVisibility" /> <filter_editor + name="inventory search editor" + label="Enter search text" text_pad_left="10" follows="left|top|right" - height="23" - label="Enter search text" layout="topleft" + width="150" + height="23" left_pad="1" max_length_chars="300" - highlight_text_field="true" - name="inventory search editor" - width="150" /> + highlight_text_field="true" /> <menu_button + name="options_gear_btn" follows="top|right" - tool_tip="Actions" + layout="topleft" + width="31" height="23" - image_hover_unselected="Toolbar_Middle_Over" + left_pad="1" + tool_tip="Actions" image_overlay="OptionsMenu_Off" image_selected="Toolbar_Middle_Selected" image_unselected="Toolbar_Middle_Off" - layout="topleft" - left_pad="1" - name="options_gear_btn" - width="31" /> + image_hover_unselected="Toolbar_Middle_Over" /> <menu_button + name="view_btn" follows="top|right" - tool_tip="View & sort options" + layout="topleft" + width="31" height="23" - image_hover_unselected="Toolbar_Middle_Over" + left_pad="1" + tool_tip="View & sort options" image_overlay="Conv_toolbar_sort" image_selected="Toolbar_Middle_Selected" image_unselected="Toolbar_Middle_Off" - layout="topleft" - left_pad="1" - name="view_btn" - width="31" /> + image_hover_unselected="Toolbar_Middle_Over" /> <button + name="add_btn" follows="top|right" + layout="topleft" + width="31" height="23" - image_hover_unselected="Toolbar_Middle_Over" + left_pad="1" + tool_tip="Create new item" image_overlay="AddItem_Off" image_selected="Toolbar_Middle_Selected" image_unselected="Toolbar_Middle_Off" - layout="topleft" - left_pad="1" - name="add_btn" - tool_tip="Create new item" - width="31" /> + image_hover_unselected="Toolbar_Middle_Over" /> <button + name="view_mode_btn" follows="top|right" - tool_tip="Switch between views" + layout="topleft" + width="31" height="23" - image_hover_unselected="Toolbar_Middle_Over" + left_pad="1" + tool_tip="Switch between views" image_overlay="Single_Folder_Mode" image_selected="Toolbar_Middle_Selected" image_unselected="Toolbar_Middle_Off" - layout="topleft" - left_pad="1" - name="view_mode_btn" - width="31" /> + image_hover_unselected="Toolbar_Middle_Over" /> </layout_panel> - </layout_stack> - <panel + </layout_stack> + <panel + name="default_inventory_panel" + layout="topleft" + follows="all" + height="372" + top_pad="10" + halign="center"> + <tab_container + name="inventory filter tabs" follows="all" - halign="center" - height="372" layout="topleft" - left="7" - name="default_inventory_panel" - top_pad="10" - width="312"> - <tab_container + top="0" + bottom="-1" + tab_height="30" + tab_position="top" + tab_min_width="100" + halign="center"> + <inventory_panel + name="All Items" + label="MY INVENTORY" + bg_opaque_color="DkGray2" + bg_alpha_color="DkGray2" + background_visible="true" + layout="topleft" follows="all" - halign="center" - height="372" + help_topic="my_inventory_tab" + show_item_link_overlays="true" + preinitialize_views="false" + sort_order_setting="InventorySortOrder" + scroll.reserve_scroll_corner="false"> + <folder double_click_override="true"/> + </inventory_panel> + <recent_inventory_panel + name="Recent Items" + label="RECENT" + bg_opaque_color="DkGray2" + bg_alpha_color="DkGray2" + background_visible="true" layout="topleft" - left="0" - name="inventory filter tabs" - tab_height="30" - tab_position="top" - tab_min_width="100" - top="0" - width="312"> - <inventory_panel - bg_opaque_color="DkGray2" - bg_alpha_color="DkGray2" - background_visible="true" - border="false" - bevel_style="none" - follows="all" - height="338" - label="MY INVENTORY" - help_topic="my_inventory_tab" - layout="topleft" - left="0" - name="All Items" - sort_order_setting="InventorySortOrder" - show_item_link_overlays="true" - preinitialize_views="false" - top="16" - width="288"> - <folder double_click_override="true"/> - </inventory_panel> - <recent_inventory_panel - bg_opaque_color="DkGray2" - bg_alpha_color="DkGray2" - background_visible="true" - border="false" - bevel_style="none" - follows="all" - height="338" - label="RECENT" - help_topic="recent_inventory_tab" - layout="topleft" - left_delta="0" - name="Recent Items" - show_item_link_overlays="true" - preinitialize_views="false" - width="290"> - <folder double_click_override="true"/> - </recent_inventory_panel> - <inventory_panel - name="Worn Items" - label="WORN" - show_empty_message="false" - follows="all" - layout="topleft" - width="290" - bg_opaque_color="DkGray2" - bg_alpha_color="DkGray2" - background_visible="true" - preinitialize_views="false" - border="false" - bevel_style="none" - scroll.reserve_scroll_corner="false"> - <folder double_click_override="true"/> - </inventory_panel> - </tab_container> - </panel> - <panel + follows="all" + left_pad="10" + help_topic="recent_inventory_tab" + show_item_link_overlays="true" + preinitialize_views="false" + scroll.reserve_scroll_corner="false"> + <folder double_click_override="true"/> + </recent_inventory_panel> + <inventory_panel + name="Worn Items" + label="WORN" + bg_opaque_color="DkGray2" + bg_alpha_color="DkGray2" + background_visible="true" + layout="topleft" + follows="all" + show_item_link_overlays="true" + preinitialize_views="false" + show_empty_message="false" + scroll.reserve_scroll_corner="false"> + <folder double_click_override="true"/> + </inventory_panel> + </tab_container> + </panel> + <panel + follows="all" + halign="center" + height="372" + layout="topleft" + left="7" + name="combination_view_inventory" + top_delta="0" + visible="false" + xwidth="306"> + <layout_stack follows="all" - halign="center" - height="372" layout="topleft" - left="7" - name="combination_view_inventory" - top_delta="0" - visible="false" - width="312"> - <layout_stack - follows="all" - layout="topleft" - height="372" - width="312" - animate="false" - drag_handle_gap="13" - drag_handle_thickness="6" - drag_handle_first_indent="18" - drag_handle_second_indent="18" - drag_handle_shift="5" - show_drag_handle="true" - top="0" - left="0" - orientation="vertical"> - <layout_panel - border="false" - bevel_style="in" - user_resize="true" - auto_resize="true" - height="246" - width="312" - min_width="150" - name="comb_gallery_layout"> + height="372" + xwidth="306" + animate="false" + drag_handle_gap="13" + drag_handle_thickness="6" + drag_handle_first_indent="18" + drag_handle_second_indent="18" + drag_handle_shift="5" + show_drag_handle="true" + top="0" + left="0" + orientation="vertical"> + <layout_panel + border="false" + bevel_style="in" + user_resize="true" + auto_resize="true" + height="246" + xwidth="306" + min_width="150" + name="comb_gallery_layout"> <panel class="inventory_gallery" filename="panel_inventory_gallery.xml" left="0" top="1" height="246" - width="312" + xwidth="304" name="comb_gallery_view_inv" background_visible="true" follows="all" layout="topleft"> </panel> - </layout_panel> - <layout_panel - border="false" - bevel_style="in" - user_resize="true" - auto_resize="true" - height="126" - width="312" - min_height="100" - name="comb_inventory_layout"> + </layout_panel> + <layout_panel + border="false" + bevel_style="in" + user_resize="true" + auto_resize="true" + height="126" + xwidth="306" + min_height="100" + name="comb_inventory_layout"> <single_folder_inventory_panel name="comb_single_folder_inv" follows="all" left="0" top="1" height="126" - width="312" + xwidth="304" layout="topleft" show_item_link_overlays="true" bg_opaque_color="DkGray2" @@ -346,14 +329,14 @@ border="false" bevel_style="none" scroll.reserve_scroll_corner="false"> - <item - single_folder_mode="true" - folder_indentation="-8"/> - <folder - single_folder_mode="true" - folder_indentation="-8"/> + <item + single_folder_mode="true" + folder_indentation="-8"/> + <folder + single_folder_mode="true" + folder_indentation="-8"/> </single_folder_inventory_panel> - </layout_panel> - </layout_stack> - </panel> + </layout_panel> + </layout_stack> + </panel> </panel> diff --git a/indra/newview/skins/default/xui/en/sidepanel_inventory.xml b/indra/newview/skins/default/xui/en/sidepanel_inventory.xml index dfd3e3bf9d..c1c534f734 100644 --- a/indra/newview/skins/default/xui/en/sidepanel_inventory.xml +++ b/indra/newview/skins/default/xui/en/sidepanel_inventory.xml @@ -1,137 +1,113 @@ <?xml version="1.0" encoding="utf-8" standalone="yes" ?> <panel - follows="all" - height="570" - label="Things" - layout="topleft" - min_height="350" - min_width="240" - name="objects panel" - width="358"> - <panel - follows="all" - layout="topleft" - left="0" - name="sidepanel_inventory_panel" - top="0" - label="" - height="570" - visible="true" - default_tab_group="1" - width="395"> - <layout_stack - follows="left|right|top|bottom" - layout="topleft" - left="0" - top="0" - tab_group="1" - orientation="vertical" - name="inventory_layout_stack" - height="565" - width="395"> - <layout_panel - name="main_inventory_layout_panel" - layout="topleft" - auto_resize="true" - user_resize="true" - min_dim="150" - width="395" - follows="bottom|left|right" - height="300"> - <panel - class="panel_main_inventory" - filename="panel_main_inventory.xml" - follows="all" - layout="topleft" - left="0" - name="panel_main_inventory" - top="0" - label="" - height="300" - width="395" /> - </layout_panel> - <layout_panel - width="355" - layout="topleft" - auto_resize="false" - user_resize="true" - follows="left|right|top" - name="inbox_layout_panel" - visible="true" - min_dim="35" - expanded_min_dim="90" - height="235"> - <panel - follows="all" - layout="topleft" - left="0" - name="marketplace_inbox" - class="panel_marketplace_inbox" - top="0" - label="" - height="235" - width="330"> - <string name="InboxLabelWithArg">Received items ([NUM])</string> - <string name="InboxLabelNoArg">Received items</string> - <button - control_name="InventoryInboxToggleState" - label="Received items" - font="SansSerifMedium" - name="inbox_btn" - height="35" - width="308" - image_unselected="MarketplaceBtn_Off" - image_selected="MarketplaceBtn_Selected" - halign="left" - handle_right_mouse="false" - follows="top|left|right" - is_toggle="true" - tab_stop="false" - pad_left="35" - top="0" - left="10" /> - <text - type="string" - length="1" - follows="right|top" - layout="topleft" - height="13" - top="10" - right="-20" - name="inbox_fresh_new_count" - font="SansSerifMedium" - halign="right" - top_pad="0" - width="300"> - [NUM] new - </text> - <panel - name="inbox_inventory_placeholder_panel" - follows="all" - left="10" - bottom="235" - width="308" - top="35" - bg_opaque_color="InventoryBackgroundColor" - background_visible="true" - background_opaque="true" - tool_tip="Drag and drop items to your inventory to use them" - > - <text name="inbox_inventory_placeholder" - type="string" - follows="all" - layout="topleft" - top="0" - left="0" - width="308" - height="200" - wrap="true" - halign="center"> -Purchases from the marketplace will be delivered here. - </text> - </panel> - </panel> - </layout_panel> - </layout_stack> - </panel> + name="objects panel" + label="Things" + layout="topleft" + follows="all" + height="570" + min_height="350" + min_width="240"> + <panel + name="sidepanel_inventory_panel" + layout="topleft" + follows="all" + top="0" + height="570" + default_tab_group="1"> + <layout_stack + name="inventory_layout_stack" + layout="topleft" + follows="all" + top="0" + height="560" + tab_group="1" + orientation="vertical"> + <layout_panel + name="main_inventory_layout_panel" + layout="topleft" + follows="bottom|left|right" + height="300" + auto_resize="true" + user_resize="true" + min_dim="150"> + <panel + name="panel_main_inventory" + class="panel_main_inventory" + filename="panel_main_inventory.xml" + layout="topleft" + follows="all" + top="0" + height="300" /> + </layout_panel> + <layout_panel + name="inbox_layout_panel" + follows="left|right|top" + layout="topleft" + min_dim="35" + expanded_min_dim="90" + auto_resize="false" + user_resize="true" > + <panel + name="marketplace_inbox" + class="panel_marketplace_inbox" + layout="topleft" + follows="all" > + <string name="InboxLabelWithArg">Received items ([NUM])</string> + <string name="InboxLabelNoArg">Received items</string> + <button + name="inbox_btn" + control_name="InventoryInboxToggleState" + label="Received items" + font="SansSerifMedium" + follows="top|left|right" + height="35" + image_unselected="MarketplaceBtn_Off" + image_selected="MarketplaceBtn_Selected" + pad_left="35" + left="10" + right="-10" + halign="left" + is_toggle="true" + tab_stop="false" + handle_right_mouse="false" /> + <text + name="inbox_fresh_new_count" + font="SansSerifMedium" + type="string" + length="1" + follows="right|top" + layout="topleft" + height="13" + top_pad="0" + top="10" + right="-20" + halign="right"> + [NUM] new + </text> + <panel + name="inbox_inventory_placeholder_panel" + bg_opaque_color="InventoryBackgroundColor" + background_visible="true" + background_opaque="true" + follows="all" + top="36" + right="-10" + bottom="10" + tool_tip="Drag and drop items to your inventory to use them" > + <text + name="inbox_inventory_placeholder" + type="string" + follows="all" + layout="topleft" + top="1" + bottom="-1" + wrap="true" + halign="center"> + Purchases from the marketplace will be delivered here. + </text> + </panel> + </panel> + </layout_panel> + </layout_stack> + </panel> </panel> |