diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-07-18 12:18:35 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-07-18 12:18:35 -0500 |
commit | 5797711cbdb553b39e6bc6ad7d9250e3208e5633 (patch) | |
tree | 5071e15e3240c3e39fe42a26f4c45bd63ccb381a /indra/llui/lltextbox.cpp | |
parent | a0089c432ac9008f5d2f7ef2a332afa10c5a2615 (diff) | |
parent | f9f5b538b21ae57f34009b36d4831d2a7000c20c (diff) |
Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559
Diffstat (limited to 'indra/llui/lltextbox.cpp')
-rw-r--r-- | indra/llui/lltextbox.cpp | 3 |
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 ); } |