Commit 05888f47 authored by manuk's avatar manuk Committed by Commit Bot

Omnibox UI Refresh: align top of raised omnibox with top of location bar

Decreased top inset from 5 to 4 px. With 5 px, the top of the omnibox was 1 pixel higher than the top of the location bar.

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