From 283ddb684f95d453e8c18f0542d7182f5e15f597 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 5 Jul 2022 12:22:35 -0400 Subject: [PATCH] fix: `` bounds vertical cutoff (#34786) fix: DataList bounds overflow Co-authored-by: Shelley Vohr --- shell/browser/ui/views/autofill_popup_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/browser/ui/views/autofill_popup_view.cc b/shell/browser/ui/views/autofill_popup_view.cc index ce651f28becf6..fd2e50921460a 100644 --- a/shell/browser/ui/views/autofill_popup_view.cc +++ b/shell/browser/ui/views/autofill_popup_view.cc @@ -174,7 +174,7 @@ void AutofillPopupView::DrawAutofillEntry(gfx::Canvas* canvas, const int text_align = is_rtl ? gfx::Canvas::TEXT_ALIGN_RIGHT : gfx::Canvas::TEXT_ALIGN_LEFT; gfx::Rect value_rect = entry_rect; - value_rect.Inset(gfx::Insets::VH(kEndPadding, 0)); + value_rect.Inset(gfx::Insets::VH(0, kEndPadding)); int x_align_left = value_rect.x(); const int value_width = gfx::GetStringWidth(