material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[MaterialTimePicker] Fix divider alignment on the clock display

Open pubiqq opened this issue 3 years ago • 2 comments

And we continue to pick up the lost fixes 😄

The divider (colon) should be aligned as intended by font designer. Do not try to align it yourself, the hardcoded indentation may be incorrect with a different font.

Before After

pubiqq avatar Sep 01 '22 20:09 pubiqq

Hi @pubiqq, thank you for your great contributions, they are really appreciated!

Sorry that some of your other and valid suggestions were not all included previously, it is easier/faster for us to review and merge one change at a time.

Regarding this alignment issue, as per my initial testing, a lot of our screenshot tests are impacted as the divider appears slightly lower. I will reach out to our design team to see what we can do.

paulfthomas avatar Sep 02 '22 14:09 paulfthomas

Regarding this alignment issue, as per my initial testing, a lot of our screenshot tests are impacted as the divider appears slightly lower.

Yes, I understand that, but it happens because font designer intended it that way:

But ok, let's see what your design team says first.

pubiqq avatar Sep 02 '22 15:09 pubiqq

Chiming in here on the design side– agreed, the proposed "after" with dividing colon height matching that of the adjacent input fields and also aligning with spec, guidelines, and design kit implementation.

McCallumDillon avatar Oct 05 '22 16:10 McCallumDillon