[Desktop][PwdCheck] Use static size for triangle icon
Instead of using sizes relative to font sizes, use a static icon size of 32x32 (outer box of the halo). A static size is used for other icons as well (most notably the favicons) and isn't subject to rounding errors which cause "misalignments" by single pixels. This also ensures that the spinner isn't distorted for reasonable font sizes (for font sizes > 34, the entire layout is falling apart, so it's not worth to even think about the slightly distorted spinner). All default font sizes (Very Small to Very Large) and custom font sizes with minimum font sizes aren't affected in any case anymore. Screenshots in the first linked bug. Bug: 1144629, 1145943, 1145931 Change-Id: I1a4222b92bd3a42615c36a01f1e3ad0cc5feadc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2532584Reviewed-by:Jan Wilken Dörrie <jdoerrie@chromium.org> Commit-Queue: Friedrich [CET] <fhorschig@chromium.org> Cr-Commit-Position: refs/heads/master@{#826766}
Showing
Please register or sign in to comment