Chat Item layout

master
Erica 2009-11-16 19:45:39 -08:00
parent e0eee4324e
commit cab4c5c604
4 changed files with 64 additions and 75 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<floater
legacy_header_height="18"
can_minimize="true"
can_minimize="false"
can_tear_off="false"
can_resize="false"
can_drag_on_left="false"
@ -11,7 +11,6 @@
height="300"
layout="topleft"
name="nearby_chat"
help_topic="nearby_chat"
save_rect="true"
title="NEARBY CHAT"
save_dock_state="true"
@ -19,19 +18,17 @@
single_instance="true"
width="320">
<chat_history
allow_html="true"
allow_html="true"
bg_readonly_color="ChatHistoryBgColor"
bg_writeable_color="ChatHistoryBgColor"
follows="all"
left="1"
left="1"
top="20"
font="SansSerif"
layout="topleft"
height="280"
height="280"
name="chat_history"
parse_highlights="true"
parse_highlights="true"
text_color="ChatHistoryTextColor"
text_readonly_color="ChatHistoryTextColor"
width="320"/>
width="320" />
</floater>

View File

@ -4,10 +4,9 @@
height="215"
name="panel_im_control_panel"
width="180">
<avatar_list
color="DkGray2"
follows="left|top|right|bottom"
follows="all"
height="130"
ignore_online_status="true"
layout="topleft"
@ -18,11 +17,10 @@
show_profile_btn="false"
show_speaking_indicator="false"
top="10"
width="180"/>
width="180" />
<panel
background_visible="true"
bg_alpha_color="0.2 0.2 0.2 1"
bg_alpha_color="DkGray2"
border="false"
bottom="1"
follows="left|bottom"
@ -32,32 +30,27 @@
name="panel_call_buttons"
top_pad="0"
width="180">
<button
bottom="10"
height="20"
label="Call"
left_delta="28"
left_delta="40"
name="call_btn"
width="125"/>
width="100" />
<button
bottom="40"
height="20"
label="Leave Call"
name="end_call_btn"
visible="false"
width="125"/>
width="100" />
<button
enabled="false"
bottom="10"
height="20"
label="Open Voice Controls"
label="Voice Controls"
name="voice_ctrls_btn"
visible="false"
width="125"/>
width="100" />
</panel>
</panel>

View File

@ -4,66 +4,63 @@
top="10"
width="250"
height="100"
background_opaque="false"
background_visible="true"
follows="left|top|bottom|right"
bg_alpha_color="0.3 0.3 0.3 1.0">
<panel
width="250"
height="30"
background_visible="true"
background_opaque="false"
follows="all">
<panel
width="240"
height="24"
left="5"
background_visible="true"
background_opaque="false"
follows="left|top|right"
bg_alpha_color="0.0 0.0 0.0 1.0"
top="-5"
bg_alpha_color="black"
name="msg_caption">
<avatar_icon
top="-7"
left="10"
width="20"
height="20"
<avatar_icon
top="-3"
left="3"
width="18"
image_name="Generic_Person"
height="18"
follows="left|top"
color="1 1 1 1"
enabled="true"
name="avatar_tag_icon"/>
enabled="true"
name="avatar_tag_icon" />
<text
width="160"
top="-10"
left="40"
height="20"
width="160"
top="-8"
left="30"
height="20"
follows="left|right|top"
font="SansSerifBigBold"
text_color="white"
font.style="BOLD"
text_color="white"
word_wrap="true"
mouse_opaque="true"
name="sender_tag_name" >
mouse_opaque="true"
name="sender_tag_name">
Angela Tester
</text>
<text
width="30"
top="-12"
left="210"
height="20"
follows="right|top"
text_color="white"
word_wrap="true"
mouse_opaque="true"
name="tag_time" >
07:52
</text>
<text
font="SansSerifSmall"
follows="right"
height="13"
layout="topleft"
halign="right"
right="-5"
name="tag_time"
top="8"
value="23:30"
width="50" />
</panel>
<text_editor
top="65"
left="10"
right="-10"
height="100"
follows="left|top|bottom|right"
font="SansSerifSmall"
<text_editor
bg_readonly_color="DkGray"
font="SansSerifSmall"
top="65"
left="5"
right="-5"
height="100"
follows="all"
read_only="true"
bg_readonly_color="0 0 0 0"
word_wrap="true"
mouse_opaque="true"
name="msg_text" >
mouse_opaque="true"
name="msg_text">
The quick brown fox jumps over the lazy dog.
</text_editor>
</panel>

View File

@ -7,7 +7,8 @@
height="24"
label="im_header"
layout="topleft"
name="im_header" >
name="im_header"
width="300">
<avatar_icon
follows="left"
height="18"
@ -33,11 +34,12 @@
<text
font="SansSerifSmall"
follows="right"
halign="right"
height="13"
layout="topleft"
left_pad="5"
name="time_box"
right="0"
right="-10"
top="8"
value="23:30"
width="50" />