Commit bda25618 authored by manuk's avatar manuk Committed by Commit Bot

omnibox: decrease bottom inset of omnibox results frame for material design refresh by 1

Previously, the insets were 5 vertically and 6 horizontally. Now, the bottom inset has been decreased to 4 in order to align the bottom of the results frame's top section with the bottom of the location bar

Bug: 852994
Change-Id: If3a7d85c3edc3a8d055ff53d910c688ced9171ec
Reviewed-on: https://chromium-review.googlesource.com/1102661Reviewed-by: default avatarTommy Li <tommycli@chromium.org>
Commit-Queue: manuk hovanesian <manukh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567736}
parent 0f85a3bb
......@@ -93,7 +93,7 @@ int RoundedOmniboxResultsFrame::GetNonResultSectionHeight() {
// static
gfx::Insets RoundedOmniboxResultsFrame::GetLocationBarAlignmentInsets() {
return ui::MaterialDesignController::IsRefreshUi() ? gfx::Insets(5, 6)
return ui::MaterialDesignController::IsRefreshUi() ? gfx::Insets(5, 6, 4, 6)
: gfx::Insets(4);
}
......
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