-
-
Notifications
You must be signed in to change notification settings - Fork 889
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
Ver 1.0.0 : FontSize(this.size) - strange behavior #289
Comments
The text scaling is not in sync with regular font scaling when user has a system Font size different than default. |
v1.0.0 in iPhone follows dynamic text size but the larger text size is much larger than it should be. |
The html is not wrapping if the font size is bigger than the default.
|
Same problem here, text and more html content (with and without customRender) flows out of the screen and the elements size is too much big.
|
Same issue with right border of content on some devices (e.g. Samsung S10 or any else device with textScaleFactor > 1.0). Any updates? |
As hotfix you can wrap html parser with See the example
|
hotfix: set textScaleFactor entire application in main.dart |
@VietTho1989 Yes, you can do like this. But if you want support of accessibilities features what iOS or Android provides (like large font size for people with poor eyesight) – it's not a good idea. Up to you. |
stumbled across this issue and realise that I created what is essentially a duplicate in #308. The good news is that I think I have a fix and will push up a PR soon. |
@edwardaux Did you find a solution for this? I'm looking forward to your PR :) |
Yep: #333 has been merged into However, the maintainers of this project will need to cut a new release that contains that fix (unless you want to pull in via a commit id). Probably more importantly, though, it depends on a Flutter bug being fixed which I raised in flutter/flutter#59316. There are two PRs for that flutter/flutter#59711 and flutter/flutter#60021, but I'm not sure what timeframe or flutter release they're going to eventually be released in. |
This was eventually fixed and released via #333. |
if you make the font larger in your phone settings, font size from FontSize(this.size) looks more larger, the right border is defined incorrectly, word wrap is also incorrect.
But there was no such problem until version 1.0.0 !
The text was updated successfully, but these errors were encountered: