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
This may be as a result of the AndoidX stuff and changes in 10.
On some devices running Android 10 like - Huawei and Samsung phones there is an issue with font size:
I have gone in and tried to do style to force things: style: { "": Style( color: Color.fromRGBO(55, 55, 55, 1.0), fontSize: FontSize(15.0), fontWeight: FontWeight.normal, ), "p": Style( color: Color.fromRGBO(55, 55, 55, 1.0), fontSize: FontSize(16.0), fontWeight: FontWeight.normal, textAlign: TextAlign.left, ), },
But it does not seem to fix the issue.
I also forced on the main theme... textTheme: TextTheme( bodyText1: TextStyle( fontSize: 15.0, color: Color.fromRGBO(55, 55, 55, 1.0) ), bodyText2: TextStyle(fontSize: 15.0, color: Color.fromRGBO(55, 55, 55, 1.0)), ),
And we still have the issue on the devices.
-The Html is pretty clean, just paragraphs
Comes from an API call to a server and rendered out
Data - the HTML
Style as shown above added
As I mentioned it is fine on Android 9 and I have a feeling it may be to do with the changed Accessibility stuff but not show how to fix this. Maybe if the package style on HTML supported option for textscalefactor to be able to maybe force 1.0 if that is the issue?
The text was updated successfully, but these errors were encountered:
This may be as a result of the AndoidX stuff and changes in 10.
On some devices running Android 10 like - Huawei and Samsung phones there is an issue with font size:
https://www.dropbox.com/s/710k7n2dt3ttllj/Screenshot_1592967593.png?dl=0
All Android 9 seem fine, IOS is totally fine.
I have gone in and tried to do style to force things:
style: { "": Style( color: Color.fromRGBO(55, 55, 55, 1.0), fontSize: FontSize(15.0), fontWeight: FontWeight.normal, ), "p": Style( color: Color.fromRGBO(55, 55, 55, 1.0), fontSize: FontSize(16.0), fontWeight: FontWeight.normal, textAlign: TextAlign.left, ), },
But it does not seem to fix the issue.
I also forced on the main theme...
textTheme: TextTheme( bodyText1: TextStyle( fontSize: 15.0, color: Color.fromRGBO(55, 55, 55, 1.0) ), bodyText2: TextStyle(fontSize: 15.0, color: Color.fromRGBO(55, 55, 55, 1.0)), ),
And we still have the issue on the devices.
-The Html is pretty clean, just paragraphs
As I mentioned it is fine on Android 9 and I have a feeling it may be to do with the changed Accessibility stuff but not show how to fix this. Maybe if the package style on HTML supported option for textscalefactor to be able to maybe force 1.0 if that is the issue?
The text was updated successfully, but these errors were encountered: