diff options
author | richard <none@none> | 2009-12-14 14:54:37 -0800 |
---|---|---|
committer | richard <none@none> | 2009-12-14 14:54:37 -0800 |
commit | 0d9bae83edc9b41ebfeffd947f9b149e3312fded (patch) | |
tree | 80960125fc0c0fccede8ab78215506758269e53e /indra/llui/lltextbox.cpp | |
parent | 4a2d57ad489344d77c2bc5213dad2c40c161a34e (diff) | |
parent | 861640adf90809131210175368850d0ccc1d669e (diff) |
merge
Diffstat (limited to 'indra/llui/lltextbox.cpp')
-rw-r--r-- | indra/llui/lltextbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lltextbox.cpp b/indra/llui/lltextbox.cpp index 0bd0ab59fb..a1f5b5726b 100644 --- a/indra/llui/lltextbox.cpp +++ b/indra/llui/lltextbox.cpp @@ -134,12 +134,12 @@ void LLTextBox::setClickedCallback( boost::function<void (void*)> cb, void* user S32 LLTextBox::getTextPixelWidth() { - return getContentsRect().getWidth(); + return getTextBoundingRect().getWidth(); } S32 LLTextBox::getTextPixelHeight() { - return getContentsRect().getHeight(); + return getTextBoundingRect().getHeight(); } |