summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbox.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2023-06-01 17:37:10 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2023-06-01 17:37:10 +0300
commit6e30df2f370dd3b382a7404484e72a47adaf921e (patch)
tree27db0dfd4f62842cc9bcc5dfd2530952b6b4687a /indra/llui/lltextbox.cpp
parent5b9b4fcf6657ce2cfa5fde85012fe24213df37b5 (diff)
SL-19762 fix for cropped label text
Diffstat (limited to 'indra/llui/lltextbox.cpp')
-rw-r--r--indra/llui/lltextbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/lltextbox.cpp b/indra/llui/lltextbox.cpp
index c567451973..521dabf9d4 100644
--- a/indra/llui/lltextbox.cpp
+++ b/indra/llui/lltextbox.cpp
@@ -171,7 +171,8 @@ void LLTextBox::reshapeToFitText(BOOL called_from_parent)
S32 width = getTextPixelWidth();
S32 height = getTextPixelHeight();
- reshape( width + 2 * mHPad, height + 2 * mVPad, called_from_parent );
+ //consider investigating reflow() to find missing width pixel (see SL-17045 changes)
+ reshape( width + 2 * mHPad + 1, height + 2 * mVPad, called_from_parent );
}