diff options
author | skolb <> | 2009-12-18 10:54:16 -0800 |
---|---|---|
committer | skolb <> | 2009-12-18 10:54:16 -0800 |
commit | d5b53eb483ec042d83859ec957dce7699c7469aa (patch) | |
tree | 289ff588bf8f35bc94fbdf3844279bc8cd299b1a /indra/newview/llexpandabletextbox.cpp | |
parent | eb7bd0a214ad794db9cb2acb33c45b9d7f46b981 (diff) | |
parent | ad6d0e3bb766c737b1e9bbd9d006391cc8bcc085 (diff) |
Merge viewer 2 into media
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; |