Skip to content
Snippets Groups Projects
Commit ec43b68b authored by Leyla Farazha's avatar Leyla Farazha
Browse files

fixing bottomtray for advanced viewer

parent 4bb82732
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8" standalone="yes" ?> <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel <panel
background_visible="true" background_visible="true"
bg_alpha_color="DkGray" bg_alpha_color="DkGray"
bg_opaque_color="DkGray" bg_opaque_color="DkGray"
chrome="true" chrome="true"
follows="left|bottom|right" follows="left|bottom|right"
height="33" focus_root="true"
layout="topleft" height="33"
left="0" layout="topleft"
name="bottom_tray" left="0"
focus_root="true" name="bottom_tray"
top="28" top="28"
width="1310"> width="1310">
<string <string
name="DragIndicationImageName" name="DragIndicationImageName"
value="Accordion_ArrowOpened_Off" /> value="Accordion_ArrowOpened_Off" />
<string <string
name="SpeakBtnToolTip" name="SpeakBtnToolTip"
value="Turns microphone on/off" /> value="Turns microphone on/off" />
<string <string
name="VoiceControlBtnToolTip" name="VoiceControlBtnToolTip"
value="Shows/hides voice control panel" /> value="Shows/hides voice control panel" />
<layout_stack <layout_stack
border_size="0" border_size="0"
clip="false" clip="false"
follows="all" follows="all"
height="28" height="28"
layout="topleft" layout="topleft"
left="0" left="0"
mouse_opaque="false" mouse_opaque="false"
name="toolbar_stack" name="toolbar_stack"
orientation="horizontal" orientation="horizontal"
top="0" top="0"
width="1310"> width="1310">
<layout_panel <layout_panel
auto_resize="false" auto_resize="false"
user_resize="false" user_resize="false"
min_width="2" min_width="2"
width="2" /> width="2" />
<layout_panel <layout_panel
auto_resize="false" auto_resize="false"
layout="topleft" layout="topleft"
max_width="320" max_width="320"
min_width="214" min_width="214"
height="28" height="28"
mouse_opaque="false" mouse_opaque="false"
name="chat_bar_layout_panel" name="chat_bar_layout_panel"
user_resize="true" user_resize="true"
width="308" > width="310" >
<panel <panel
name="chat_bar" name="chat_bar"
filename="panel_nearby_chat_bar.xml" filename="panel_nearby_chat_bar.xml"
left="0" left="0"
height="28" height="28"
width="306" width="308"
top="0" top="0"
mouse_opaque="false" mouse_opaque="false"
follows="left|right" follows="left|right"
/> />
</layout_panel> </layout_panel>
<layout_panel <!--
auto_resize="false" This 5px Panel is an indicator of where the resize handle is.
follows="left|right" The panel provides a gap between the resize handle icon and a button to the right.
height="28" -->
layout="topleft" <layout_panel
min_height="28" auto_resize="false"
min_width="59" layout="topleft"
mouse_opaque="false" max_width="5"
name="speak_panel" min_width="5"
top_delta="0" name="chat_bar_resize_handle_panel"
user_resize="false" user_resize="false"
width="108"> width="5">
<talk_button <icon
follows="left|right" follows="top|right"
height="23" height="25"
layout="topleft" image_name="ChatBarHandle"
left="0" layout="topleft"
name="talk" left="-7"
top="5" name="resize_handle"
width="105"> top="4"
<show_button width="5" />
tab_stop="true"> </layout_panel>
<init_callback <layout_panel
function="Button.SetDockableFloaterToggle" auto_resize="false"
parameter="voice_controls" /> follows="left|right"
</show_button> height="28"
<!-- do not remove halign attribute with default value. otherwise it can't be overridden in other locales. layout="topleft"
& pad_right is default value for long label which can be right aligned. See EXT-6318 --> min_height="28"
<speak_button min_width="59"
halign="center" mouse_opaque="false"
label="Speak" name="speak_panel"
label_selected="Speak" top_delta="0"
name="speak_btn" user_resize="false"
pad_right="20" width="108">
tab_stop="true" <talk_button
use_ellipses="true" /> follows="left|right"
</talk_button> height="23"
</layout_panel> layout="topleft"
<layout_panel left="0"
auto_resize="false" name="talk"
follows="right" top="5"
height="28" width="105">
layout="topleft" <show_button
min_height="28" tab_stop="true">
min_width="65" <init_callback
mouse_opaque="false" function="Button.SetDockableFloaterToggle"
name="gesture_panel" parameter="voice_controls" />
top_delta="0" </show_button>
user_resize="false" <!-- do not remove halign attribute with default value. otherwise it can't be overridden in other locales.
width="85"> & pad_right is default value for long label which can be right aligned. See EXT-6318 -->
<gesture_combo_list <speak_button
follows="left|right" halign="center"
height="23" label="Speak"
label="Gesture" label_selected="Speak"
layout="topleft" name="speak_btn"
get_more="false" pad_right="20"
view_all="false" tab_stop="true"
left="0" use_ellipses="true" />
name="Gesture" </talk_button>
tool_tip="Shows/hides gestures" </layout_panel>
top="5" <layout_panel
width="82"> auto_resize="false"
<combo_button follows="right"
pad_right="10" height="28"
can_drag="false" layout="topleft"
use_ellipses="true" /> min_height="28"
<combo_list min_width="65"
page_lines="17" /> mouse_opaque="false"
</gesture_combo_list> name="gesture_panel"
</layout_panel> top_delta="0"
<layout_panel user_resize="false"
auto_resize="false" width="85">
follows="left|right" <gesture_combo_list
height="28" follows="left|right"
layout="topleft" height="23"
min_height="28" label="Gesture"
min_width="52" layout="topleft"
mouse_opaque="false" left="0"
name="cam_panel" name="Gesture"
user_resize="false" tool_tip="Shows/hides gestures"
width="83"> top="5"
<bottomtray_button width="82">
can_drag="false" <combo_button
follows="left|right" pad_right="10"
height="23" use_ellipses="true" />
image_pressed="PushButton_Press" <combo_list
image_pressed_selected="PushButton_Selected_Press" page_lines="17" />
image_selected="PushButton_Selected_Press" </gesture_combo_list>
is_toggle="true" </layout_panel>
label="View" <layout_panel
layout="topleft" auto_resize="false"
left="0" follows="right"
name="camera_btn" height="28"
tool_tip="Shows/hides camera controls" layout="topleft"
top="5" min_height="28"
use_ellipses="true" min_width="52"
width="80"> mouse_opaque="false"
<init_callback name="movement_panel"
function="Button.SetDockableFloaterToggle" user_resize="false"
parameter="camera" /> width="83">
</bottomtray_button> <bottomtray_button
</layout_panel> follows="left|right"
<layout_panel height="23"
auto_resize="false" image_pressed="PushButton_Press"
follows="left|right" image_pressed_selected="PushButton_Selected_Press"
height="28" image_selected="PushButton_Selected_Press"
layout="topleft" is_toggle="true"
min_width="17" label="Move"
name="splitter_panel" layout="topleft"
user_resize="false" name="movement_btn"
width="17"> tool_tip="Shows/hides movement controls"
<icon top="5"
follows="left|bottom" use_ellipses="true"
height="18" width="80">
width="2" <init_callback
left="6" function="Button.SetDockableFloaterToggle"
image_name="Button_Separator" parameter="moveview" />
name="separator" </bottomtray_button>
top="7"/>
</layout_panel> </layout_panel>
<layout_panel <layout_panel
auto_resize="false" auto_resize="false"
follows="left|right" follows="left|right"
height="28" height="28"
layout="topleft" layout="topleft"
min_height="28" min_height="28"
min_width="83" min_width="52"
mouse_opaque="false" mouse_opaque="false"
name="avatar_and_destinations_panel" name="cam_panel"
user_resize="false" user_resize="false"
width="103"> width="83">
<bottomtray_button <bottomtray_button
can_drag="false" follows="left|right"
follows="left|right" height="23"
height="23" image_pressed="PushButton_Press"
image_pressed="PushButton_Press" image_pressed_selected="PushButton_Selected_Press"
image_pressed_selected="PushButton_Selected_Press" image_selected="PushButton_Selected_Press"
image_selected="PushButton_Selected_Press" is_toggle="true"
label="Destinations" label="View"
layout="topleft" layout="topleft"
left="0" left="0"
name="destination_btn" name="camera_btn"
tool_tip="Shows destinations window" tool_tip="Shows/hides camera controls"
top="5" top="5"
is_toggle="true" use_ellipses="true"
use_ellipses="true" width="80">
width="100"> <init_callback
<bottomtray_button.commit_callback function="Button.SetDockableFloaterToggle"
function="Destination.show" /> parameter="camera" />
</bottomtray_button> </bottomtray_button>
</layout_panel> </layout_panel>
<layout_panel <layout_panel
auto_resize="false" auto_resize="false"
follows="left|right" follows="left|right"
height="28" height="28"
layout="topleft" layout="topleft"
min_height="28" min_width="40"
min_width="73" mouse_opaque="false"
mouse_opaque="false" name="snapshot_panel"
name="avatar_and_destinations_panel" user_resize="false"
user_resize="false" width="39">
width="103"> <bottomtray_button
<bottomtray_button follows="left|right"
can_drag="false" height="23"
follows="left|right" image_overlay="Snapshot_Off"
height="23" image_pressed="PushButton_Press"
image_pressed="PushButton_Press" image_pressed_selected="PushButton_Selected_Press"
image_pressed_selected="PushButton_Selected_Press" image_selected="PushButton_Selected_Press"
image_selected="PushButton_Selected_Press" is_toggle="true"
label="My Avatar" layout="topleft"
layout="topleft" left="0"
left="0" name="snapshots"
name="avatar_btn" tool_tip="Take snapshot"
top="5" top="5"
is_toggle="true" width="36">
use_ellipses="true" <init_callback
width="100"> function="Button.SetFloaterToggle"
<bottomtray_button.commit_callback parameter="snapshot" />
function="Avatar.show" /> </bottomtray_button>
</bottomtray_button> </layout_panel>
</layout_panel> <layout_panel
<layout_panel auto_resize="false"
auto_resize="false" follows="left|right"
follows="left|right" height="28"
height="28" layout="topleft"
layout="topleft" min_height="28"
min_width="17" min_width="52"
name="splitter_panel" mouse_opaque="false"
user_resize="false" name="build_btn_panel"
width="17"> user_resize="false"
<icon width="83">
follows="left|bottom" <!--*FIX: Build Floater is not opened with default registration. Will be fixed soon.
height="18" Disabled for now.
width="2" -->
left="6" <bottomtray_button
image_name="Button_Separator" follows="left|right"
name="separator" height="23"
top="7"/> image_pressed="PushButton_Press"
</layout_panel> image_pressed_selected="PushButton_Selected_Press"
<layout_panel image_selected="PushButton_Selected_Press"
auto_resize="false" is_toggle="true"
follows="right" label="Build"
height="28" layout="topleft"
layout="topleft" left="0"
min_height="28" name="build_btn"
min_width="65" tool_tip="Shows/hides Build Tools"
mouse_opaque="false" top="5"
name="people_panel" use_ellipses="true"
top_delta="0" width="80">
user_resize="false" <commit_callback
width="105"> function="Build.Toggle"
<bottomtray_button parameter="build" />
can_drag="false" </bottomtray_button>
follows="left|right" </layout_panel>
height="23" <layout_panel
image_pressed="PushButton_Press" auto_resize="false"
image_pressed_selected="PushButton_Selected_Press" follows="left|right"
image_selected="PushButton_Selected_Press" height="28"
label="People" layout="topleft"
layout="topleft" min_height="28"
left="0" min_width="52"
name="show_people_button" mouse_opaque="false"
tool_tip="Shows people window" name="search_btn_panel"
top="5" user_resize="false"
is_toggle="true" width="83">
use_ellipses="true" <bottomtray_button
width="100"> follows="left|right"
<bottomtray_button.commit_callback height="23"
function="ShowSidetrayPanel" image_pressed="PushButton_Press"
parameter="panel_people" /> image_pressed_selected="PushButton_Selected_Press"
</bottomtray_button> image_selected="PushButton_Selected_Press"
</layout_panel> is_toggle="true"
<layout_panel label="Search"
auto_resize="false" layout="topleft"
follows="right" left="0"
height="28" name="search_btn"
layout="topleft" tool_tip="Shows/hides Search"
min_height="28" top="5"
min_width="65" use_ellipses="true"
mouse_opaque="false" width="80">
name="profile_panel" <init_callback
top_delta="0" function="Button.SetFloaterToggle"
user_resize="false" parameter="search" />
width="105"> </bottomtray_button>
<bottomtray_button </layout_panel>
can_drag="false" <layout_panel
follows="left|right" auto_resize="false"
height="23" follows="left|right"
image_pressed="PushButton_Press" height="28"
image_pressed_selected="PushButton_Selected_Press" layout="topleft"
image_selected="PushButton_Selected_Press" min_height="28"
label="Profile" min_width="52"
layout="topleft" mouse_opaque="false"
left="0" name="world_map_btn_panel"
name="show_profile_btn" user_resize="false"
tool_tip="Shows profile window" width="83">
is_toggle="true" <bottomtray_button
top="5" follows="left|right"
use_ellipses="true" height="23"
width="100"> image_pressed="PushButton_Press"
<bottomtray_button.commit_callback image_pressed_selected="PushButton_Selected_Press"
function="ToggleAgentProfile" image_selected="PushButton_Selected_Press"
parameter="agent"/> is_toggle="true"
</bottomtray_button> label="Map"
</layout_panel> layout="topleft"
<layout_panel left="0"
auto_resize="false" name="world_map_btn"
follows="right" tool_tip="Shows/hides World Map"
height="28" top="5"
layout="topleft" use_ellipses="true"
min_height="28" width="80">
min_width="65" <init_callback
mouse_opaque="false" function="Button.SetFloaterToggle"
name="howto_panel" parameter="world_map" />
top_delta="0" </bottomtray_button>
user_resize="false" </layout_panel>
width="105"> <layout_panel
<bottomtray_button auto_resize="false"
can_drag="false" follows="left|right"
follows="left|right" height="28"
height="23" layout="topleft"
image_pressed="PushButton_Press" min_height="28"
image_pressed_selected="PushButton_Selected_Press" min_width="52"
image_selected="PushButton_Selected_Press" mouse_opaque="false"
label="How To" name="mini_map_btn_panel"
layout="topleft" user_resize="false"
left="0" width="83">
name="show_help_btn" <bottomtray_button
tool_tip="Open Second Life How To topics" follows="left|right"
is_toggle="true" height="23"
top="5" image_pressed="PushButton_Press"
use_ellipses="true" image_pressed_selected="PushButton_Selected_Press"
width="100"> image_selected="PushButton_Selected_Press"
<bottomtray_button.commit_callback is_toggle="true"
function="ToggleHelp" label="Mini-Map"
parameter="f1_help" /> layout="topleft"
</bottomtray_button> left="0"
</layout_panel> name="mini_map_btn"
<layout_panel tool_tip="Shows/hides Mini-Map"
follows="left|right" top="5"
height="30" use_ellipses="true"
layout="topleft" width="80">
min_width="95" <init_callback
mouse_opaque="false" function="Button.SetFloaterToggle"
name="chiclet_list_panel" parameter="mini_map" />
top="0" </bottomtray_button>
user_resize="false" </layout_panel>
width="189"> <layout_panel
<!--*NOTE: min_width of the chiclet_panel (chiclet_list) must be the same follows="left|right"
as for parent layout_panel (chiclet_list_panel) to resize bottom tray properly. EXT-991--> height="30"
<chiclet_panel layout="topleft"
chiclet_padding="4" min_width="95"
follows="left|right" mouse_opaque="false"
height="24" name="chiclet_list_panel"
layout="topleft" top="0"
left="1" user_resize="false"
min_width="95" width="189">
mouse_opaque="false" <!--*NOTE: min_width of the chiclet_panel (chiclet_list) must be the same
name="chiclet_list" as for parent layout_panel (chiclet_list_panel) to resize bottom tray properly. EXT-991-->
top="7" <chiclet_panel
width="189"> chiclet_padding="4"
<button follows="left|right"
auto_resize="true" height="24"
follows="right" layout="topleft"
height="29" left="1"
image_hover_selected="SegmentedBtn_Left_Over" min_width="95"
image_hover_unselected="SegmentedBtn_Left_Over" mouse_opaque="false"
image_overlay="Arrow_Small_Left" name="chiclet_list"
image_pressed="SegmentedBtn_Left_Press" top="7"
image_pressed_selected="SegmentedBtn_Left_Press" width="189">
image_selected="SegmentedBtn_Left_Off" <button
image_unselected="SegmentedBtn_Left_Off" auto_resize="true"
layout="topleft" follows="right"
name="chicklet_left_scroll_button" height="29"
tab_stop="false" image_hover_selected="SegmentedBtn_Left_Over"
top="-28" image_hover_unselected="SegmentedBtn_Left_Over"
visible="false" image_overlay="Arrow_Small_Left"
width="7" /> image_pressed="SegmentedBtn_Left_Press"
<button image_pressed_selected="SegmentedBtn_Left_Press"
auto_resize="true" image_selected="SegmentedBtn_Left_Off"
follows="right" image_unselected="SegmentedBtn_Left_Off"
height="29" layout="topleft"
image_hover_selected="SegmentedBtn_Right_Over" name="chicklet_left_scroll_button"
image_hover_unselected="SegmentedBtn_Right_Over" tab_stop="false"
image_overlay="Arrow_Small_Right" top="-28"
image_pressed="SegmentedBtn_Right_Press" visible="false"
image_pressed_selected="SegmentedBtn_Right_Press" width="7" />
image_selected="SegmentedBtn_Right_Off" <button
image_unselected="SegmentedBtn_Right_Off" auto_resize="true"
layout="topleft" follows="right"
name="chicklet_right_scroll_button" height="29"
tab_stop="false" image_hover_selected="SegmentedBtn_Right_Over"
top="-28" image_hover_unselected="SegmentedBtn_Right_Over"
visible="false" image_overlay="Arrow_Small_Right"
width="7" /> image_pressed="SegmentedBtn_Right_Press"
</chiclet_panel> image_pressed_selected="SegmentedBtn_Right_Press"
</layout_panel> image_selected="SegmentedBtn_Right_Off"
<layout_panel auto_resize="false" image_unselected="SegmentedBtn_Right_Off"
user_resize="false" layout="topleft"
width="4" name="chicklet_right_scroll_button"
min_width="4"/> tab_stop="false"
<layout_panel top="-28"
auto_resize="false" visible="false"
follows="right" width="7" />
height="28" </chiclet_panel>
layout="topleft" </layout_panel>
min_height="28" <layout_panel auto_resize="false"
min_width="37" user_resize="false"
name="im_well_panel" width="4"
top="0" min_width="4"/>
user_resize="false" <layout_panel
width="37"> auto_resize="false"
<chiclet_im_well follows="right"
follows="right" height="28"
height="28" layout="topleft"
layout="topleft" min_height="28"
left="0" min_width="37"
max_displayed_count="99" name="im_well_panel"
name="im_well" top="0"
top="0" user_resize="false"
width="35"> width="37">
<!-- <chiclet_im_well
Emulate 4 states of button by background images, see details in EXT-3147. The same should be for notification_well button follows="right"
xml attribute Description height="28"
image_unselected "Unlit" - there are no new messages layout="topleft"
image_selected "Unlit" + "Selected" - there are no new messages and the Well is open left="0"
image_pressed "Lit" - there are new messages max_displayed_count="99"
image_pressed_selected "Lit" + "Selected" - there are new messages and the Well is open name="im_well"
--> top="0"
<button width="35">
auto_resize="true" <!--
follows="right" Emulate 4 states of button by background images, see details in EXT-3147. The same should be for notification_well button
halign="center" xml attribute Description
height="23" image_unselected "Unlit" - there are no new messages
image_overlay="Unread_IM" image_selected "Unlit" + "Selected" - there are no new messages and the Well is open
image_overlay_alignment="center" image_pressed "Lit" - there are new messages
image_pressed="WellButton_Lit" image_pressed_selected "Lit" + "Selected" - there are new messages and the Well is open
image_pressed_selected="WellButton_Lit_Selected" -->
image_selected="PushButton_Press" <button
label_color="Black" auto_resize="true"
left="0" follows="right"
name="Unread IM messages" halign="center"
tool_tip="Conversations" height="23"
width="34"> image_overlay="Unread_IM"
<init_callback image_overlay_alignment="center"
function="Button.SetDockableFloaterToggle" image_pressed="WellButton_Lit"
parameter="im_well_window" /> image_pressed_selected="WellButton_Lit_Selected"
</button> image_selected="PushButton_Press"
</chiclet_im_well> label_color="Black"
</layout_panel> left="0"
<layout_panel name="Unread IM messages"
auto_resize="false" tool_tip="Conversations"
follows="right" width="34">
height="28" <init_callback
layout="topleft" function="Button.SetDockableFloaterToggle"
min_height="28" parameter="im_well_window" />
min_width="37" </button>
name="notification_well_panel" </chiclet_im_well>
top="0" </layout_panel>
user_resize="false" <layout_panel
width="37"> auto_resize="false"
<chiclet_notification follows="right"
follows="right" height="28"
height="23" layout="topleft"
layout="topleft" min_height="28"
left="0" min_width="37"
max_displayed_count="99" name="notification_well_panel"
name="notification_well" top="0"
top="5" user_resize="false"
width="35"> width="37">
<button <chiclet_notification
auto_resize="true" follows="right"
bottom_pad="3" height="23"
follows="right" layout="topleft"
halign="center" left="0"
height="23" max_displayed_count="99"
image_overlay="Notices_Unread" name="notification_well"
image_overlay_alignment="center" top="5"
image_pressed="WellButton_Lit" width="35">
image_pressed_selected="WellButton_Lit_Selected" <button
image_selected="PushButton_Press" auto_resize="true"
label_color="Black" bottom_pad="3"
left="0" follows="right"
name="Unread" halign="center"
tool_tip="Notifications" height="23"
width="34"> image_overlay="Notices_Unread"
<init_callback image_overlay_alignment="center"
function="Button.SetDockableFloaterToggle" image_pressed="WellButton_Lit"
parameter="notification_well_window" /> image_pressed_selected="WellButton_Lit_Selected"
</button> image_selected="PushButton_Press"
</chiclet_notification> label_color="Black"
</layout_panel> left="0"
<layout_panel name="Unread"
auto_resize="false" tool_tip="Notifications"
user_resize="false" width="34">
min_width="4" <init_callback
name="DUMMY2" function="Button.SetDockableFloaterToggle"
width="8" /> parameter="notification_well_window" />
</layout_stack> </button>
</panel> </chiclet_notification>
</layout_panel>
<layout_panel
auto_resize="false"
user_resize="false"
min_width="4"
name="DUMMY2"
width="8" />
</layout_stack>
</panel>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment