New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 693698 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

settings-dropdown-menu width calculated incorrectly

Project Member Reported by steve...@chromium.org, Feb 17 2017

Issue description

The settings-dropdown-menu expands horizontally based on the width of the largest available item.

Currently however it does not correctly take into consideration the width of the arrow in the right.

This can be seen in the fonts dropdown menu or the timezone menu. (Other menus fit within the minimum dropdown width).

This may be a paper-dropdown issue, or an issue with the way we embed paper-dropdown.



 
Labels: -M-58 M-59
Cc: dpa...@chromium.org
Status: Started (was: Assigned)
It looks like this can be addressed with some minor tweaks to md_selec_css.html.

Comment 3 by dpa...@chromium.org, Apr 19 2017

Labels: Proj-MaterialDesign-WebUI
@stevenjb a screenshot would be helpful determine whether this is a dupe of  issue 710802 .
It looks like it may be a dupe. I'll check to see if my changes affect  issue 710802 .

Screenshot attached.

Screenshot 2017-04-20 at 5.25.55 AM.png
38.8 KB View Download
So the difference between this and  issue 710802  is that issue only occurs for very large fonts, 

I have a fix for this that doesn't seem to impact  issue 710802 , but see comment there.


Screenshot with change:

Screenshot 2017-04-20 at 6.33.45 AM.png
40.5 KB View Download
Cc: steve...@chromium.org
Labels: -M-59 M-60
Owner: dpa...@chromium.org
Status: Assigned (was: Started)
-> dpapad@ since this is related to  issue 710802 .

Comment 8 by dpa...@chromium.org, Apr 19 2017

Status: Started (was: Assigned)
Project Member

Comment 9 by bugdroid1@chromium.org, Apr 19 2017

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

commit 25e4011a30bc7e0cbb2912ea1fe47defefa606f8
Author: dpapad <dpapad@chromium.org>
Date: Wed Apr 19 23:04:02 2017

WebUI: Fix calculation of md-select text and arrow spacing.

Previous calculation was not properly taking into account the position of
the arrow. New calculation ensures that there is always some white space
between the arrow and the text.

BUG= 693698 , 710802 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2825403003
Cr-Commit-Position: refs/heads/master@{#465800}

[modify] https://crrev.com/25e4011a30bc7e0cbb2912ea1fe47defefa606f8/ui/webui/resources/html/md_select_css.html

Status: Fixed (was: Started)
Labels: Merge-Request-59
Project Member

Comment 12 by sheriffbot@chromium.org, Apr 20 2017

Labels: -Merge-Request-59 Hotlist-Merge-Approved Merge-Approved-59
Your change meets the bar and is auto-approved for M59. Please go ahead and merge the CL to branch 3071 manually. Please contact milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), gkihumba@(ChromeOS), Abdul Syed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 13 by bugdroid1@chromium.org, Apr 21 2017

Labels: -merge-approved-59 merge-merged-3071
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6eb1222c5a221fc570b5a2cee9e418c496a3b55a

commit 6eb1222c5a221fc570b5a2cee9e418c496a3b55a
Author: Lei Zhang <thestig@chromium.org>
Date: Fri Apr 21 23:57:08 2017

M59: WebUI: Fix calculation of md-select text and arrow spacing.

Previous calculation was not properly taking into account the position of
the arrow. New calculation ensures that there is always some white space
between the arrow and the text.

BUG= 693698 , 710802 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2825403003
Cr-Commit-Position: refs/heads/master@{#465800}
(cherry picked from commit 25e4011a30bc7e0cbb2912ea1fe47defefa606f8)

Review-Url: https://codereview.chromium.org/2836763002 .
Cr-Commit-Position: refs/branch-heads/3071@{#138}
Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641}

[modify] https://crrev.com/6eb1222c5a221fc570b5a2cee9e418c496a3b55a/ui/webui/resources/html/md_select_css.html

Status: Verified (was: Fixed)
Chrome OS 9532.0.0, 60.0.3092.0

Sign in to add a comment