-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Increase Tooltip font size on Desktop #103189
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original issue also mentioned macOS, am i missing somethig?
This legibility issue also applies to Linux and MacOS platforms when device pixel ratio 1.0 is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, I read all the comments on the previous issue #71052 that mainly mentioned Windows and Linux, and I didn't notice that MacOS is included in the new issue description. Good catch! That's make this change even simpler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changed description doesn't seem to add more value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can do a switch case on defaultTargetPlatform and do different expect value instead of removing the check. But this may not be needed if macos also uses 12px
chunhtai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR increase tooltip default font size on Windows and Linux for readibility.
Material team is ok with it from this comment :
#71429 (comment)
Related Issue
Fixes #71429
Tests
Add 2 tests.