diff options
| author | Igor Borovkov <iborovkov@productengine.com> | 2009-12-17 17:50:06 +0200 |
|---|---|---|
| committer | Igor Borovkov <iborovkov@productengine.com> | 2009-12-17 17:50:06 +0200 |
| commit | b0e984e58a10c6245a75f9bfd83f39d89e2d6369 (patch) | |
| tree | 7ccc4e17b161ea9b14a6b5d10f5c412bcb957cfb /indra/newview/llexpandabletextbox.cpp | |
| parent | 30f3397e35df30d444f17b00c43fb6135ddc0604 (diff) | |
| parent | a332ec1608ec2444c82f140d3cbdb8d3bf659343 (diff) | |
merge
--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; |
