diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-03 11:41:35 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-03-03 11:41:35 +0000 |
commit | 962362503633f9fba741b1a45eb05b75a18a9f7d (patch) | |
tree | c70e936c416d1183f6f6d99de5f7a5554c0996cb /indra/llui/llscrolllistcell.cpp | |
parent | f7ecfe6dc453bf06c24934b58f67637790fe3c44 (diff) | |
parent | 0e780c9b912913b3eddde251b62f6218df4c5587 (diff) |
PE merge.
Diffstat (limited to 'indra/llui/llscrolllistcell.cpp')
-rw-r--r-- | indra/llui/llscrolllistcell.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/llscrolllistcell.cpp b/indra/llui/llscrolllistcell.cpp index 3cc92baa8d..d17be8b94a 100644 --- a/indra/llui/llscrolllistcell.cpp +++ b/indra/llui/llscrolllistcell.cpp @@ -185,6 +185,8 @@ LLScrollListText::LLScrollListText(const LLScrollListCell::Params& p) { sCount++; + mTextWidth = getWidth(); + // initialize rounded rect image if (!mRoundedRectImage) { @@ -340,7 +342,7 @@ void LLScrollListText::draw(const LLColor4& color, const LLColor4& highlight_col 0, LLFontGL::NO_SHADOW, string_chars, - getWidth(), + getTextWidth(), &right_x, TRUE); } |