SL-19762 fix for cropped label text
parent
5b9b4fcf66
commit
6e30df2f37
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue