Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Issue 2628633002: WebUI: cr-slider: Fix layout with large fonts (Closed)

Created:
3 years, 11 months ago by stevenjb
Modified:
3 years, 11 months ago
Reviewers:
michaelpg
CC:
chromium-reviews, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-elements_chromium.org, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebUI: cr-slider: Fix layout with large fonts paper-slider uses a fixed size of 200px. This does not work well with cr-slider when the size of the labels increases. Instead, set the minimum width of cr-slider to be 200px, and the width of the embedded paper-slider to 100%. BUG=679319 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2628633002 Cr-Commit-Position: refs/heads/master@{#443091} Committed: https://chromium.googlesource.com/chromium/src/+/2c9cbe19a0fcbf5386caec36010d201ec3430713

Patch Set 1 #

Total comments: 4

Patch Set 2 : Feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M ui/webui/resources/cr_elements/cr_slider/cr_slider.html View 1 1 chunk +15 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
stevenjb
3 years, 11 months ago (2017-01-10 20:11:31 UTC) #5
Dan Beam
https://codereview.chromium.org/2628633002/diff/1/ui/webui/resources/cr_elements/cr_slider/cr_slider.html File ui/webui/resources/cr_elements/cr_slider/cr_slider.html (right): https://codereview.chromium.org/2628633002/diff/1/ui/webui/resources/cr_elements/cr_slider/cr_slider.html#newcode16 ui/webui/resources/cr_elements/cr_slider/cr_slider.html:16: div#labels { do you need this "div" at the ...
3 years, 11 months ago (2017-01-10 20:12:47 UTC) #6
stevenjb
https://codereview.chromium.org/2628633002/diff/1/ui/webui/resources/cr_elements/cr_slider/cr_slider.html File ui/webui/resources/cr_elements/cr_slider/cr_slider.html (right): https://codereview.chromium.org/2628633002/diff/1/ui/webui/resources/cr_elements/cr_slider/cr_slider.html#newcode16 ui/webui/resources/cr_elements/cr_slider/cr_slider.html:16: div#labels { On 2017/01/10 20:12:47, Dan Beam wrote: > ...
3 years, 11 months ago (2017-01-10 21:28:20 UTC) #7
michaelpg
Does this mean increasing the width of the slider? is that what UX wants for ...
3 years, 11 months ago (2017-01-10 22:31:00 UTC) #8
stevenjb
On 2017/01/10 22:31:00, michaelpg (NYC) wrote: > Does this mean increasing the width of the ...
3 years, 11 months ago (2017-01-10 22:33:02 UTC) #9
michaelpg
lgtm On 2017/01/10 22:33:02, stevenjb wrote: > On 2017/01/10 22:31:00, michaelpg (NYC) wrote: > > ...
3 years, 11 months ago (2017-01-11 04:41:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2628633002/20001
3 years, 11 months ago (2017-01-11 23:09:11 UTC) #12
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 00:48:49 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/2c9cbe19a0fcbf5386caec36010d...

Powered by Google App Engine
This is Rietveld 408576698