New issue
Advanced search Search tips

Issue 850516 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 14
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug
Q2



Sign in to add a comment

Top/bottom content inset in menus are inconsistent

Project Member Reported by pschaffner@chromium.org, Jun 7 2018

Issue description

The top inset seems to be consistent across instances at 10pt. The bottom inset is inconsistently different from the top.

Both top and bottom insets should be the same [10pt] in all instances.
 
IMG_0701.PNG
593 KB View Download
IMG_0702.PNG
594 KB View Download
IMG_0703.PNG
570 KB View Download
Labels: Q2 MS-Tools-Navigation-Menu
Project Member

Comment 2 by bugdroid1@chromium.org, Aug 14

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/5202b90d8de13309d30bbc60be18f20be19f7276

commit 5202b90d8de13309d30bbc60be18f20be19f7276
Author: Gauthier Ambard <gambard@chromium.org>
Date: Tue Aug 14 13:56:23 2018

[iOS] Adjust top/bottom insets of Popup Menu

The bottom insets of the popup menus were wrong because of a rounding
error. This CL adjusts it by rounding at the end of the additions
instead of doing everytime a new element is computed.

Bug:  850516 
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ic99c3d71e1f7d8a0b47a3e6453242d4a36007e66
Reviewed-on: https://chromium-review.googlesource.com/1174253
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Reviewed-by: Stepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582902}
[modify] https://crrev.com/5202b90d8de13309d30bbc60be18f20be19f7276/ios/chrome/browser/ui/popup_menu/popup_menu_table_view_controller.mm

Status: Fixed (was: Assigned)

Sign in to add a comment