[UI] Align dropdown position with the combobox so their borders align
Before this CL, the code was mistakenly adding internal padding to the menu position. But both the combobox and the dropdown draw their borders similarly and hence they should use the same bounds. Screenshots: Before: https://screenshot.googleplex.com/DrCgx0mp5Th.png After: https://screenshot.googleplex.com/0EEH40BOw1p.png Bug: 1044038 Change-Id: I275b3ae320d44e93357364a64a9f37a607445d74 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2261273 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by:Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#781519}
Showing
Please register or sign in to comment