Commit bc8346a3 authored by Tomasz Wiszkowski's avatar Tomasz Wiszkowski Committed by Commit Bot

Fix alignment of All Icons And Text in Omnibox & Suggestions.

This change addresses an old problem where suggestion icons and text were
slightly misaligned.

Change-Id: Ie2b9eb70cbfccf37787bc181fdf6bd23dced20b7
Doc: http://doc/1S80-WgirGxZaV3u4917MF6av7AbQpOIhWwrRxRo-eok
Bug: 986584
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1977003Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Commit-Queue: Ender <ender@google.com>
Cr-Commit-Position: refs/heads/master@{#726638}
parent 3785530a
......@@ -59,8 +59,7 @@
android:layout_weight="1"
android:layout_gravity="center_vertical"
android:background="@drawable/modern_toolbar_text_box_background"
android:paddingEnd="@dimen/location_bar_lateral_padding"
android:paddingStart="2dp" />
android:paddingEnd="@dimen/location_bar_lateral_padding" />
<ViewStub
android:id="@+id/experimental_button_stub"
......
......@@ -278,7 +278,7 @@
<dimen name="location_bar_action_icon_width">48dp</dimen>
<dimen name="location_bar_start_icon_width">28dp</dimen>
<dimen name="location_bar_start_icon_margin_end">4dp</dimen>
<dimen name="location_bar_lateral_padding">10dp</dimen>
<dimen name="location_bar_lateral_padding">11dp</dimen>
<!-- When the url action container is shown, the location bar end padding is built in to its
actions, so the action container itself uses a negative offset to properly align with the end
of the location bar. -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment