diff options
author | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2009-12-17 15:51:27 +0200 |
---|---|---|
committer | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2009-12-17 15:51:27 +0200 |
commit | ffaaea10ef89e060f3414e3c388df1a6ff4d5f44 (patch) | |
tree | 1867889a27307017af24d4f6123b885c5ab39787 /indra/newview/llexpandabletextbox.cpp | |
parent | 67ee277d8a6ef8d24ee7fcdf21e08dde2004773b (diff) |
Fixed major bug EXT-3290 - Groups titles listed in profile lose links to groups after click on 'More' link.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llexpandabletextbox.cpp')
-rw-r--r-- | indra/newview/llexpandabletextbox.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llexpandabletextbox.cpp b/indra/newview/llexpandabletextbox.cpp index 9c37c953fe..9f6412c0ab 100644 --- a/indra/newview/llexpandabletextbox.cpp +++ b/indra/newview/llexpandabletextbox.cpp @@ -322,6 +322,13 @@ void LLExpandableTextBox::expandTextBox() // hide "more" link, and show full text contents mTextBox->hideExpandText(); + // *HACK dz + // hideExpandText brakes text styles (replaces hyper-links with plain text), see ticket EXT-3290 + // Set text again to make text box re-apply styles. + // *TODO Find proper solution to fix this issue. + // Maybe add removeSegment to LLTextBase + mTextBox->setTextBase(mText); + S32 text_delta = mTextBox->getVerticalTextDelta(); text_delta += mTextBox->getVPad() * 2; text_delta += mScroll->getBorderWidth() * 2; |