diff options
| author | Richard Nelson <richard@lindenlab.com> | 2009-10-20 00:41:41 +0000 |
|---|---|---|
| committer | Richard Nelson <richard@lindenlab.com> | 2009-10-20 00:41:41 +0000 |
| commit | ce5a5f84d5b5aee95b0b130d0fbdb8fbaa688ba7 (patch) | |
| tree | b710655439feee3af795dd3311edd4bbf93d5568 /indra/newview/llchathistory.cpp | |
| parent | b36eee458126f191022c4483d3a496cbbf7dc30c (diff) | |
ext-1670 - fix the chat history use of widgets
reviewed by leyla
Diffstat (limited to 'indra/newview/llchathistory.cpp')
| -rw-r--r-- | indra/newview/llchathistory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 80f3867a80..cc21b636f1 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -109,7 +109,7 @@ void LLChatHistory::appendWidgetMessage(const LLUUID& avatar_id, std::string& fr view_text = from + MESSAGE_USERNAME_DATE_SEPARATOR + time; } //Prepare the rect for the view - LLRect target_rect = mScroller->getContentWindowRect(); + LLRect target_rect = getDocumentView()->getRect(); target_rect.mLeft += mLeftWidgetPad; target_rect.mRight -= mRightWidgetPad; view->reshape(target_rect.getWidth(), view->getRect().getHeight()); |
