summaryrefslogtreecommitdiff
path: root/indra/newview/llscreenchannel.cpp
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-04-07 10:49:12 +0300
committerAlexei Arabadji <aarabadji@productengine.com>2010-04-07 10:49:12 +0300
commitbb3abe5c17c92fec08da5490c3d66b411d25eacd (patch)
tree63a442851c6f1ddd0796f2c3bd8af16b2bb385a7 /indra/newview/llscreenchannel.cpp
parentdea3e7623afa69aba983cacb0ecb84efec7ed190 (diff)
fixed EXT-5842 There is a lot of unused space in the online/offline toasts,
- decreased on/offline notification toasts width from 305 to 220px; - added toast right alignment; - made toasts for long avatar names taller (according to max length of avatar full name(63 characters) made 3 max line of message text in online/offline toasts, also corrected initial geometry parameters of panel_online_status_toast.xml to allow method LLToastPanel::snapToMessageHeigh works correctly); reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/182/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llscreenchannel.cpp')
-rw-r--r--indra/newview/llscreenchannel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp
index dffb5e5e12..e9a80907b7 100644
--- a/indra/newview/llscreenchannel.cpp
+++ b/indra/newview/llscreenchannel.cpp
@@ -480,7 +480,9 @@ void LLScreenChannel::showToastsBottom()
}
toast_rect = (*it).toast->getRect();
- toast_rect.setOriginAndSize(getRect().mLeft, bottom + toast_margin, toast_rect.getWidth() ,toast_rect.getHeight());
+ toast_rect.setOriginAndSize(getRect().mRight - toast_rect.getWidth(),
+ bottom + toast_margin, toast_rect.getWidth(),
+ toast_rect.getHeight());
(*it).toast->setRect(toast_rect);
if(floater && floater->overlapsScreenChannel())