From 2959a6413fe853bce000422f591e3f231fd9d188 Mon Sep 17 00:00:00 2001 From: Yuri Chebotarev Date: Wed, 9 Jun 2010 13:55:06 +0300 Subject: EXT-7534 FIX add toast wrapping pannel padding reviewed by Alexei Arabadji at https://codereview.productengine.com/secondlife/r/536/ --HG-- branch : product-engine --- indra/newview/llnearbychathandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llnearbychathandler.cpp b/indra/newview/llnearbychathandler.cpp index 9824517ed1..d36fc6bca7 100644 --- a/indra/newview/llnearbychathandler.cpp +++ b/indra/newview/llnearbychathandler.cpp @@ -287,7 +287,7 @@ void LLNearbyChatScreenChannel::showToastsBottom() toast_rect.setLeftTopAndSize(getRect().mLeft , bottom + toast_rect.getHeight(), toast_rect.getWidth() ,toast_rect.getHeight()); toast->setRect(toast_rect); - bottom += toast_rect.getHeight() + margin; + bottom += toast_rect.getHeight() - toast->getTopPad() + margin; } // use reverse order to provide correct z-order and avoid toast blinking -- cgit v1.2.3