Skip to content

Not resizing small enough on Android Chrome on Web #130

@DannyJoinedApps

Description

@DannyJoinedApps

Steps to Reproduce
Run web app on desktop in any browser, fonts are resized just fine. Run it on chrome on android, and the test always shows with just a little bit missing, about 5-10% of the words. The font does get resized, just not quite enough to fit everything on. Note that it is not a restrictive lower bound on the font size as you can choose a longer string and your library will choose a smaller font within its range, just not quite small enough to actually fit in all the words. Note that it works very nicely on desktop browsers that I have tested so far.

Code sample

Container(
        width:w, height: h,
        child: AutoSizeText(
          questionText, style:questionTextStyle, minFontSize: 10, maxFontSize: 80, maxLines: 3,
          textAlign: TextAlign.center,))

Version

  • Flutter version: 3.3.10
  • auto_size_text version: 3.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions