-
Notifications
You must be signed in to change notification settings - Fork 29.7k
fix cupertino date picker column width calculation #151142
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
fix cupertino date picker column width calculation #151142
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
@HosamHasanRamadan thanks for contributing! Welcome! |
|
Hi @Piinks
Can you guide me through ? |
|
Another PR fixing a similar issue with a different implementation was filed here: #151128 |
This is a tricky thing to test, the person in the other PR is having the same problem. It looks like the test needs to both override the localizations with one that triggers the issue and use a different font then what the tests use by default. The font used by the tests have a standard spacing that may not trigger this issue. See this comment and the one above it. |
|
Thanks @MitchellGoodwin |
220fc8e to
747000f
Compare
|
The other PR has the same issue, and looks like they were able to load Roboto. Link to comment on the section. I don't know enough about how the fonts load in the tests to know if it's a safe test though. |
|
@MitchellGoodwin |
|
This pull request executed golden file tests, but it has not been updated in a while (20+ days). Test results from Gold expire after as many days, so this pull request will need to be updated with a fresh commit in order to get results from Gold. For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
Going to close this in favor of #151128. Feel free to comment on that PR. If that one is closed for any reason, also feel free to reopen this one. |
Fixes: #110319
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.