Skip to content

Corrected accessibility text scaling - #1259

Merged
Sub6Resources merged 2 commits into
Sub6Resources:masterfrom
noviocare:text_scaling
May 16, 2023
Merged

Sub6Resources merged 2 commits into
Sub6Resources:masterfrom
noviocare:text_scaling

Conversation

@arjanmels

Copy link
Copy Markdown
Contributor

Switched to Text.rich form RichText to have textscalefactor applied.
However textscalefactor is applied on each Text.rich recursively, so only apply it to toplevel.

@Sub6Resources Sub6Resources left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of whitespace changes here. I'm assuming this is because you have your formatter's line width set off of the default. Could you reformat the code with the default dart line width using dart format with the --line-length=80 tag set?

The line width of 80 is an ongoing debate: dart-lang/dart_style#833, but flutter_html is just using the current standard (however frustrating it may be).

@arjanmels
arjanmels requested a review from Sub6Resources May 14, 2023 18:36
@arjanmels

Copy link
Copy Markdown
Contributor Author

Sorry for messing up the formatting, should be ok now.

@Sub6Resources
Sub6Resources merged commit 6a83e45 into Sub6Resources:master May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants