diff options
author | Richard Nelson <richard@lindenlab.com> | 2009-10-08 01:48:50 +0000 |
---|---|---|
committer | Richard Nelson <richard@lindenlab.com> | 2009-10-08 01:48:50 +0000 |
commit | fd846da06cbd1a62023de8e9c3ec61d40e8cd226 (patch) | |
tree | d8fa86eabb9fecae5ce82d012abacd41beabacb6 /indra/newview/llchatmsgbox.cpp | |
parent | e5d968ad404aac4e04b2ac4d58647db956b1ed62 (diff) |
only add LLScrollContainers to text widgets when requested, saving on LLTextBox construction time
combined clip and scroll attributes of text editors and text boxes...if you want to clip text, you need to introduce a scrollbar
moved clear to LLTextEditor so that text boxes won't empty out when calling LLPanel::clearCtrls()
EXT-1354 - added optional wrapping to LLTooltips...inspector tooltips don't wrap, everything else does
added LLFastTimer::reset call on application init to prime timers for pre-login timing
fixed tooltips positioning incorrectly due to mis-sized tooltipview
eliminated hide_scrollbar param for text editors
reviewed by Leyla
Diffstat (limited to 'indra/newview/llchatmsgbox.cpp')
-rw-r--r-- | indra/newview/llchatmsgbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llchatmsgbox.cpp b/indra/newview/llchatmsgbox.cpp index 6eaafc9059..12626e3b43 100644 --- a/indra/newview/llchatmsgbox.cpp +++ b/indra/newview/llchatmsgbox.cpp @@ -59,7 +59,7 @@ public: /*virtual*/ S32 getWidth(S32 first_char, S32 num_chars) const { - return mEditor->getDocumentPanel()->getRect().getWidth(); + return mEditor->getDocumentView()->getRect().getWidth(); } /*virtual*/ F32 draw(S32 start, S32 end, S32 selection_start, S32 selection_end, const LLRect& draw_rect) |