summaryrefslogtreecommitdiff
path: root/indra/newview/llexpandabletextbox.cpp
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2010-09-14 19:02:42 +0300
committerAndrew Dyukov <adyukov@productengine.com>2010-09-14 19:02:42 +0300
commitbb07a38f6273ee38625e34388dcf83c097e646d2 (patch)
treef9e6bdf50e3603d912bc6c698167a19f1fe2eee5 /indra/newview/llexpandabletextbox.cpp
parent73ba1f288d30777754d13560863e3e4fade2fc6a (diff)
STORM-112 FIXED Fixed EOLs display as "squares" in expandable textboxes after resize.
This problem reproduced not only on minimize of certain floaters from description, but for all expandable textboxes after resizes. It happened because of hideExpandText() call in LLTextBoxEx::reshape() that broke lineendings. - Removed it from there so text expands now only when clicking "More" link- it's the only time when it should be shown, and also doesn't have problem with breaking anything because of calling setTextBase() after it.
Diffstat (limited to 'indra/newview/llexpandabletextbox.cpp')
-rw-r--r--indra/newview/llexpandabletextbox.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/indra/newview/llexpandabletextbox.cpp b/indra/newview/llexpandabletextbox.cpp
index f0c2469977..5e10f60aba 100644
--- a/indra/newview/llexpandabletextbox.cpp
+++ b/indra/newview/llexpandabletextbox.cpp
@@ -121,7 +121,6 @@ LLExpandableTextBox::LLTextBoxEx::LLTextBoxEx(const Params& p)
void LLExpandableTextBox::LLTextBoxEx::reshape(S32 width, S32 height, BOOL called_from_parent)
{
- hideExpandText();
LLTextEditor::reshape(width, height, called_from_parent);
if (getTextPixelHeight() > getRect().getHeight())