Fixed major bug EXT-3290 - Groups titles listed in profile lose links to groups after click on 'More' link.
--HG-- branch : product-enginemeow-7.2.2
parent
67ee277d8a
commit
ffaaea10ef
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ protected:
|
|||
// adds or removes "More" link as needed
|
||||
/*virtual*/ void reshape(S32 width, S32 height, BOOL called_from_parent = TRUE);
|
||||
/*virtual*/ void setText(const LLStringExplicit& text, const LLStyle::Params& input_params = LLStyle::Params());
|
||||
void setTextBase(const std::string& text) { LLTextBase::setText(text); }
|
||||
|
||||
/**
|
||||
* Returns difference between text box height and text height.
|
||||
|
|
|
|||
Loading…
Reference in New Issue