diff options
| author | James Cook <james@lindenlab.com> | 2009-12-01 08:51:32 -0800 |
|---|---|---|
| committer | James Cook <james@lindenlab.com> | 2009-12-01 08:51:32 -0800 |
| commit | 5e11affddb1b8816f57f9314381486c00033e080 (patch) | |
| tree | b21e2486be2daaa9b249588ce7d88f0f9f472814 /indra/newview/llchiclet.cpp | |
| parent | 677938e6531209ca9ccd29146454af67f1c743c7 (diff) | |
| parent | bf34e572e7acd0f80d103318b76b4abe32c802d3 (diff) | |
merge
Diffstat (limited to 'indra/newview/llchiclet.cpp')
| -rw-r--r-- | indra/newview/llchiclet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp index f41e326dd0..9aef02c5c8 100644 --- a/indra/newview/llchiclet.cpp +++ b/indra/newview/llchiclet.cpp @@ -1362,7 +1362,7 @@ void LLChicletNotificationCounterCtrl::setCounter(S32 counter) LLRect LLChicletNotificationCounterCtrl::getRequiredRect() { LLRect rc; - S32 text_width = getContentsRect().getWidth(); + S32 text_width = getTextPixelWidth(); rc.mRight = rc.mLeft + llmax(text_width, mInitialWidth); |
