diff options
author | Andrew Dyukov <adyukov@productengine.com> | 2010-09-14 19:02:42 +0300 |
---|---|---|
committer | Andrew Dyukov <adyukov@productengine.com> | 2010-09-14 19:02:42 +0300 |
commit | bb07a38f6273ee38625e34388dcf83c097e646d2 (patch) | |
tree | f9e6bdf50e3603d912bc6c698167a19f1fe2eee5 /indra/newview/llexpandabletextbox.cpp | |
parent | 73ba1f288d30777754d13560863e3e4fade2fc6a (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.cpp | 1 |
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()) |