diff options
5 files changed, 130 insertions, 122 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 7b1aaac35c..313d37379b 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -2377,6 +2377,14 @@ bool LLNormalTextSegment::getDimensions(S32 first_char, S32 num_chars, S32& widt width = mStyle->getFont()->getWidth(text.c_str(), mStart + first_char, num_chars); // if last character is a newline, then return true, forcing line break llwchar last_char = text[mStart + first_char + num_chars - 1]; + + LLUIImagePtr image = mStyle->getImage(); + if( image.notNull()) + { + width += image->getWidth(); + height = llmax(height, image->getHeight()); + } + return num_chars >= 1 && last_char == '\n'; } diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index 9fe03859bb..6e5d8dc2b8 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -5746,7 +5746,7 @@ Are you sure you want to delete your teleport history? name="BottomTrayButtonCanNotBeShown" type="alert"> Selected button can not be shown right now. -The button will be shown when there is enough space for it.
+The button will be shown when there is enough space for it. </notification> diff --git a/indra/newview/skins/default/xui/en/panel_activeim_row.xml b/indra/newview/skins/default/xui/en/panel_activeim_row.xml index 38294c907a..3ed91cb48f 100644 --- a/indra/newview/skins/default/xui/en/panel_activeim_row.xml +++ b/indra/newview/skins/default/xui/en/panel_activeim_row.xml @@ -7,8 +7,8 @@ left="0" height="35" width="318" - background_opaque="false"
- background_visible="true"
+ background_opaque="false" + background_visible="true" bg_alpha_color="0.0 0.0 0.0 0.0" > <chiclet_im_p2p name="p2p_chiclet" diff --git a/indra/newview/skins/default/xui/en/panel_group_notify.xml b/indra/newview/skins/default/xui/en/panel_group_notify.xml index 984a799b41..fa7fc34239 100644 --- a/indra/newview/skins/default/xui/en/panel_group_notify.xml +++ b/indra/newview/skins/default/xui/en/panel_group_notify.xml @@ -1,117 +1,117 @@ -<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
-<panel
- background_visible="true"
- bevel_style="in"
- bg_alpha_color="0 0 0 0"
- height="135"
- label="instant_message"
- layout="topleft"
- left="0"
- name="panel_group_notify"
- top="0"
- width="305">
- <string
- name="message_max_lines_count"
- value="4" />
- <panel
- background_visible="true"
- bevel_style="in"
- bg_alpha_color="black"
- follows="top"
- height="30"
- label="header"
- layout="topleft"
- left="0"
- name="header"
- top="0"
- width="305">
- <icon
- follows="left|top|right|bottom"
- height="20"
- layout="topleft"
- left="5"
- mouse_opaque="true"
- name="group_icon"
- top="5"
- width="20" />
- <text
- follows="left|top|right|bottom"
- font="SansSerifBigBold"
- height="20"
- layout="topleft"
- left_pad="10"
- name="title"
- text_color="GroupNotifyTextColor"
- top="5"
- use_ellipses="true"
- value="Sender Name / Group Name"
- width="230" />
- </panel>
- <text
- follows="top"
- font="SansSerifBig"
- height="20"
- layout="topleft"
- left="25"
- name="subject"
- text_color="GroupNotifyTextColor"
- top="40"
- use_ellipses="true"
- value="subject"
- width="270"
- wrap="true" />
- <text
- follows="top"
- font="SansSerif"
- height="20"
- layout="topleft"
- left="25"
- name="datetime"
- text_color="GroupNotifyTextColor"
- top="80"
- use_ellipses="true"
- value="datetime"
- width="270"
- wrap="true" />
- <text
- follows="left|top|bottom|right"
- height="0"
- layout="topleft"
- left="25"
- name="message"
- text_color="GroupNotifyTextColor"
- top="100"
- use_ellipses="true"
- value="message"
- width="270"
- wrap="true" />
- <icon
- bottom="122"
- follows="left|bottom|right"
- height="15"
- layout="topleft"
- left="25"
- mouse_opaque="true"
- name="attachment_icon"
- width="15" />
- <text
- bottom="122"
- follows="left|bottom|right"
- font="SansSerif"
- height="15"
- layout="topleft"
- left="45"
- name="attachment"
- text_color="GroupNotifyTextColor"
- value="Attachment"
- width="280" />
- <button
- bottom="130"
- follows="bottom"
- height="20"
- label="OK"
- layout="topleft"
- left="25"
- name="btn_ok"
- width="70" />
-</panel>
+<?xml version="1.0" encoding="utf-8" standalone="yes" ?> +<panel + background_visible="true" + bevel_style="in" + bg_alpha_color="0 0 0 0" + height="135" + label="instant_message" + layout="topleft" + left="0" + name="panel_group_notify" + top="0" + width="305"> + <string + name="message_max_lines_count" + value="4" /> + <panel + background_visible="true" + bevel_style="in" + bg_alpha_color="black" + follows="top" + height="30" + label="header" + layout="topleft" + left="0" + name="header" + top="0" + width="305"> + <icon + follows="left|top|right|bottom" + height="20" + layout="topleft" + left="5" + mouse_opaque="true" + name="group_icon" + top="5" + width="20" /> + <text + follows="left|top|right|bottom" + font="SansSerifBigBold" + height="20" + layout="topleft" + left_pad="10" + name="title" + text_color="GroupNotifyTextColor" + top="5" + use_ellipses="true" + value="Sender Name / Group Name" + width="230" /> + </panel> + <text + follows="top" + font="SansSerifBig" + height="20" + layout="topleft" + left="25" + name="subject" + text_color="GroupNotifyTextColor" + top="40" + use_ellipses="true" + value="subject" + width="270" + wrap="true" /> + <text + follows="top" + font="SansSerif" + height="20" + layout="topleft" + left="25" + name="datetime" + text_color="GroupNotifyTextColor" + top="80" + use_ellipses="true" + value="datetime" + width="270" + wrap="true" /> + <text + follows="left|top|bottom|right" + height="0" + layout="topleft" + left="25" + name="message" + text_color="GroupNotifyTextColor" + top="100" + use_ellipses="true" + value="message" + width="270" + wrap="true" /> + <icon + bottom="122" + follows="left|bottom|right" + height="15" + layout="topleft" + left="25" + mouse_opaque="true" + name="attachment_icon" + width="15" /> + <text + bottom="122" + follows="left|bottom|right" + font="SansSerif" + height="15" + layout="topleft" + left="45" + name="attachment" + text_color="GroupNotifyTextColor" + value="Attachment" + width="280" /> + <button + bottom="130" + follows="bottom" + height="20" + label="OK" + layout="topleft" + left="25" + name="btn_ok" + width="70" /> +</panel> diff --git a/indra/newview/skins/default/xui/en/panel_sys_well_item.xml b/indra/newview/skins/default/xui/en/panel_sys_well_item.xml index 63e60aab78..ccb57b6552 100644 --- a/indra/newview/skins/default/xui/en/panel_sys_well_item.xml +++ b/indra/newview/skins/default/xui/en/panel_sys_well_item.xml @@ -10,8 +10,8 @@ height="35" layout="topleft" follows="left|right" - background_opaque="false"
- background_visible="true"
+ background_opaque="false" + background_visible="true" bg_alpha_color="0.0 0.0 0.0 0.0" > <text top="2" |