From 35ff95d3c71849ac97ced178a2330b9d4651f250 Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Wed, 29 Jun 2022 10:14:03 +0200 Subject: [PATCH] fix: `` bounds vertical cutoff (#34759) --- 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(