Commit f50a572f authored by Tommy Martino's avatar Tommy Martino Committed by Commit Bot

[Autofill Views] Increase dropdown min-width

Per UX request, increasing the dropdown min-width.

Bug: 936914
Change-Id: I7a8f12ad9489337d65d369502ce0bb0bdedfcf7c
Reviewed-on: https://chromium-review.googlesource.com/c/1495040
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#636650}
parent cf189198
......@@ -43,12 +43,11 @@
namespace {
// By spec, dropdowns should have a min width of 64, a max width of 456, and
// should always have a width which is a multiple of 12.
// By spec, dropdowns should always have a width which is a multiple of 12.
constexpr int kAutofillPopupWidthMultiple = 12;
constexpr int kAutofillPopupMinWidth = 64;
constexpr int kAutofillPopupMinWidth = kAutofillPopupWidthMultiple * 16;
// TODO(crbug.com/831603): move handling the max width to the base class.
constexpr int kAutofillPopupMaxWidth = 456;
constexpr int kAutofillPopupMaxWidth = kAutofillPopupWidthMultiple * 38;
// Max width for the username and masked password.
constexpr int kAutofillPopupUsernameMaxWidth = 272;
......
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