You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to Reproduce
Trying to resize a text that has more lines in itself more than the allowed maxLines results in the font size to be the minFontSize and the displayed lines to be only maxLines, leaving an empty space bellow.
Expected result - Either:
1 - Cap the input text to maxLines lines first and then apply the rest of the resizing algorithm; or
2 - Apply the maximum possible lines possible when reaching the minFontSize.
The first option would be more consistent with the behaviour of Text(), which caps the lines to maxLines.
Steps to Reproduce
Trying to resize a text that has more lines in itself more than the allowed
maxLines
results in the font size to be theminFontSize
and the displayed lines to be onlymaxLines
, leaving an empty space bellow.Expected result - Either:
1 - Cap the input text to
maxLines
lines first and then apply the rest of the resizing algorithm; or2 - Apply the maximum possible lines possible when reaching the
minFontSize
.The first option would be more consistent with the behaviour of
Text()
, which caps the lines tomaxLines
.Code sample
Screenshots
Screenshot for the example above:
Version
The text was updated successfully, but these errors were encountered: