diff options
author | Denis Serdjuk <dserduk@productengine.com> | 2010-03-03 12:11:50 +0200 |
---|---|---|
committer | Denis Serdjuk <dserduk@productengine.com> | 2010-03-03 12:11:50 +0200 |
commit | bb8071e448c5d35a87cff965a76347732579cbed (patch) | |
tree | 48eb495e706f0d0541d267c86ce975e1c7b5f14e /indra/llui/llscrolllistcell.cpp | |
parent | 2281b187d370d3663f909128fcf5ec72b08f17dc (diff) | |
parent | 0f04222acc13802d1b16dff49e17dc52c1cfae2a (diff) |
merge
--HG--
branch : product-engine
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); } |