mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-09-27 12:04:24 +01:00
Increase desired width increment to aleviate situations where certain text would still flow to multiple lines.
This commit is contained in:
@@ -294,7 +294,7 @@ public class EmojiTextView extends AppCompatTextView {
|
||||
int desiredWidth = (int) measuredTextWidth + getPaddingLeft() + getPaddingRight();
|
||||
|
||||
if (widthSpecMode == MeasureSpec.AT_MOST && desiredWidth < widthSpecSize) {
|
||||
return MeasureSpec.makeMeasureSpec(desiredWidth + 1, MeasureSpec.EXACTLY);
|
||||
return MeasureSpec.makeMeasureSpec(desiredWidth + 3, MeasureSpec.EXACTLY);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user