New issue
Advanced search Search tips

Issue 653207 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocking:
issue 630357



Sign in to add a comment

Harmony - dropdown button corner radius too large, needs 1px stroke, and should not stroke blue for focus

Project Member Reported by shrike@chromium.org, Oct 5 2016

Issue description

Currently the dropdown button's corner radius is too large. You can see this when comparing the corners of a textfield vs. one of these buttons. This radius also causes the dialog background to peek through in between the edge of the button and its focus ring. Please see the attached screenshots.

Additionally, it looks like the dropdown button is using a 1pt stroke, which should be 1px. Finally, the dropdown button should not stroke itself in blue when focused (it now displays the soft focus ring).

Attached is the relevant portion of the spec showing that the corner radius should be 2pt (covers both textfields and dropdowns).
 
Screen Shot 2016-10-05 at 11.26.26 AM.png
4.6 KB View Download
Screen Shot 2016-10-05 at 11.15.39 AM.png
8.4 KB View Download
Screen Shot 2016-10-05 at 11.21.05 AM.png
56.9 KB View Download
Labels: -OS-Linux -OS-Windows -OS-Chrome
Owner: ellyjo...@chromium.org
those screenshots are mac, right?
Owner: est...@chromium.org
oops, didn't mean to assign to Elly (fix should be pretty easy even for me)
Owner: ellyjo...@chromium.org
In general the Mac is running the same code as everywhere else, but in this case it looks like the Mac side is doing some custom drawing for the dropdown button. My guess is it's a holdover from the Shiny Modern days.

I will assign it to ellyjones@ - probably easy for her to undo whatever is happening.

Owner: est...@chromium.org
Status: Started (was: Assigned)
https://codereview.chromium.org/2391393002/
before & after screenshots with your patch - looks much better :)
before.png
17.5 KB View Download
after.png
16.0 KB View Download
thanks for posting those!
Looks good - thank you for the change.

Comment 8 by est...@chromium.org, Oct 10 2016

Cc: est...@chromium.org ellyjo...@chromium.org
 Issue 654045  has been merged into this issue.
Status: Fixed (was: Started)

Sign in to add a comment