Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget does not take into account "Large text" system setting. #4

Closed
jeroentrappers opened this issue Nov 28, 2018 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@jeroentrappers
Copy link

jeroentrappers commented Nov 28, 2018

Instead it will fall back to the default minFontSize. It would be better if the widget takes into account the system setting, and take it as default.

you could use : minFontSize * MediaQuery.of(context).textScaleFactor

@simc
Copy link
Owner

simc commented Nov 28, 2018

Thank you for the suggestion. I'll implement this when I have time ;)

@simc
Copy link
Owner

simc commented Dec 6, 2018

I added a textScaleFactor which uses MediaQuery.of(context).textScaleFactor as fallback :)
Hopefully this helps you. If not, please feel free to reopen the issue...

@simc simc closed this as completed Dec 6, 2018
@jeroentrappers
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants