Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit bcf5958

Browse files
codebyterekhalwa
authored andcommitted
fix: <datalist> bounds vertical cutoff (electron#34759)
1 parent bb0ebd4 commit bcf5958

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shell/browser/ui/views/autofill_popup_view.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ void AutofillPopupView::DrawAutofillEntry(gfx::Canvas* canvas,
174174
const int text_align =
175175
is_rtl ? gfx::Canvas::TEXT_ALIGN_RIGHT : gfx::Canvas::TEXT_ALIGN_LEFT;
176176
gfx::Rect value_rect = entry_rect;
177-
value_rect.Inset(gfx::Insets::VH(kEndPadding, 0));
177+
value_rect.Inset(gfx::Insets::VH(0, kEndPadding));
178178

179179
int x_align_left = value_rect.x();
180180
const int value_width = gfx::GetStringWidth(

0 commit comments

Comments
 (0)