diff options
author | Oz Linden <oz@lindenlab.com> | 2011-02-11 11:38:27 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-02-11 11:38:27 -0500 |
commit | 924be3f25c2fca57a8d6f5f902eaeca5c2dd91e1 (patch) | |
tree | 3ba82720ba6b24830637999bfa605e786d814ced /indra/newview/lltoastnotifypanel.cpp | |
parent | 40abc0fe1e6edd2f018fcdc35ffccdb5475a5fe0 (diff) | |
parent | 547b40bfc8b0139789a2d9c5dcd1591343a2c60b (diff) |
pull back release tag from viewer-beta
Diffstat (limited to 'indra/newview/lltoastnotifypanel.cpp')
-rw-r--r-- | indra/newview/lltoastnotifypanel.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/lltoastnotifypanel.cpp b/indra/newview/lltoastnotifypanel.cpp index 3f7dc24ade..fa91f129b8 100644 --- a/indra/newview/lltoastnotifypanel.cpp +++ b/indra/newview/lltoastnotifypanel.cpp @@ -563,7 +563,17 @@ void LLIMToastNotifyPanel::reshape(S32 width, S32 height, BOOL called_from_paren height = rc.getHeight(); width = rc.getWidth(); + bool is_width_changed = width != getRect().getWidth(); + LLToastPanel::reshape(width, height, called_from_parent); + + // Notification height required to display the text message depends on + // the width of the text box thus if panel width is changed the text box + // width is also changed then reshape() is called to adjust proper height. + if (is_width_changed) + { + reshape(width, height, called_from_parent); + } } // EOF |