fix: <datalist>
bounds vertical cutoff (#34759)
This commit is contained in:
parent
6257e0c348
commit
35ff95d3c7
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ void AutofillPopupView::DrawAutofillEntry(gfx::Canvas* canvas,
|
||||||
const int text_align =
|
const int text_align =
|
||||||
is_rtl ? gfx::Canvas::TEXT_ALIGN_RIGHT : gfx::Canvas::TEXT_ALIGN_LEFT;
|
is_rtl ? gfx::Canvas::TEXT_ALIGN_RIGHT : gfx::Canvas::TEXT_ALIGN_LEFT;
|
||||||
gfx::Rect value_rect = entry_rect;
|
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();
|
int x_align_left = value_rect.x();
|
||||||
const int value_width = gfx::GetStringWidth(
|
const int value_width = gfx::GetStringWidth(
|
||||||
|
|
Loading…
Add table
Reference in a new issue