Skip to content
Commit b2285baa authored by Jérôme Lebel's avatar Jérôme Lebel Committed by Chromium LUCI CQ
Browse files

[iOS][Waffle] Fix the alignment for the search engine cell

The title and the one line snippet are constrained by a layout guide.
This layout guide x center is aligned with the x center of the
search engine button.
And the top and bottom are aligned with top and bottom of the button
(with the right margin).

The expanded snippet top is aligned with the one line snippet top,
and the bottom is aligned with the bottom of the button with a low
priority.

When expanding, the one line snippet bottom constrain priority is
lowered, and the expanded snippet bottom constrain priority is
increased.

All other elements (image, chevron and check circle) are vertically
aligned with the middle of the layout guide.

Also the margine between the name and the snippet is updated to match
the mocks.

Before:
https://drive.google.com/file/d/1iBaNipn11ZpChicFRJGayymazcK8i-OT/view?resourcekey=0-9E-A20rDZe-ukDQC0X8snw

After:
https://drive.google.com/file/d/1ezJP4hKMq2qrjVj9vYmmg1TzOxxER4tl/view?resourcekey=0-gtVOxtzb3hbvo1pV3dERIA

Fixed: 331917617
Change-Id: I7b6433bc516f082763593b73d49e07aa887278eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5402530


Reviewed-by: default avatarMenghan Yang <myuu@google.com>
Auto-Submit: Jérôme Lebel <jlebel@chromium.org>
Commit-Queue: Jérôme Lebel <jlebel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1281107}
parent 5c3675b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment