SL-19762 fix for cropped label text

master
Mnikolenko Productengine 2023-06-01 17:37:10 +03:00
parent 5b9b4fcf66
commit 6e30df2f37
1 changed files with 2 additions and 1 deletions

View File

@ -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 );
}