diff options
| author | Logue <logue@hotmail.co.jp> | 2023-06-02 07:06:24 +0900 |
|---|---|---|
| committer | Logue <logue@hotmail.co.jp> | 2023-06-02 07:06:24 +0900 |
| commit | cca49e4d637e4f7e513647b79bef9a5c5b8820dc (patch) | |
| tree | 0213cd95e653d501dfd0c87cc60b5ba8b95b07df /indra/llui/lltextbox.cpp | |
| parent | 6f58bc78fe2c8667e1f5ac40a309620fd98a5f36 (diff) | |
| parent | d134d155e2ddaf07ba1cdac50c1e31781e451ee5 (diff) | |
Merge branch 'DRTVWR-580-maint-T' of github.com:secondlife/viewer into DRTVWR-580-maint-T
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 ); } |
