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

Issue 2886603002: [MD settings] separate spacing of controlled-by icon and control-label (Closed)

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

Description

[MD settings] separate spacing of controlled-by icon and control-label This CL replaces the use of the --cr-control-spacing with two variables --cr--control-label-spacing and --cr-controlled-by-spacing. Those two distances are now required (by UI) to be different values (20px and 24px respectively). Removing the old variable and using more explicitly named variables should help avoid confusion about where each should be used. BUG=721230 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2886603002 Cr-Commit-Position: refs/heads/master@{#472177} Committed: https://chromium.googlesource.com/chromium/src/+/38438a522f398efbc70717d69c8999fc13574640

Patch Set 1 #

Total comments: 2

Patch Set 2 : review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -22 lines) Patch
M chrome/browser/resources/settings/controls/controlled_button.html View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/resources/settings/controls/controlled_radio_button.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/controls/settings_checkbox.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/controls/settings_dropdown_menu.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/controls/settings_slider.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/controls/settings_toggle_button.html View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/date_time_page/date_time_page.html View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_detail_page.html View 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_subpage.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/network_property_list.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/internet_page/network_siminfo.html View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_shared_css.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/settings_vars_css.html View 1 1 chunk +7 lines, -1 line 0 comments Download
M ui/webui/resources/cr_elements/network/cr_network_list_item.html View 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/cr_elements/shared_vars_css.html View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (11 generated)
dschuyler
The 'main change' is in ui/webui/resources/cr_elements/shared_vars_css.html The other files are changed as a consequence of ...
3 years, 7 months ago (2017-05-15 23:32:02 UTC) #5
dschuyler
On 2017/05/15 23:32:02, dschuyler wrote: > The 'main change' is in ui/webui/resources/cr_elements/shared_vars_css.html > The other ...
3 years, 7 months ago (2017-05-15 23:37:41 UTC) #6
stevenjb
https://codereview.chromium.org/2886603002/diff/1/ui/webui/resources/cr_elements/shared_vars_css.html File ui/webui/resources/cr_elements/shared_vars_css.html (right): https://codereview.chromium.org/2886603002/diff/1/ui/webui/resources/cr_elements/shared_vars_css.html#newcode12 ui/webui/resources/cr_elements/shared_vars_css.html:12: --cr-control-label-spacing: 20px; Is this actually used other than on ...
3 years, 7 months ago (2017-05-15 23:40:10 UTC) #7
dschuyler
https://codereview.chromium.org/2886603002/diff/1/ui/webui/resources/cr_elements/shared_vars_css.html File ui/webui/resources/cr_elements/shared_vars_css.html (right): https://codereview.chromium.org/2886603002/diff/1/ui/webui/resources/cr_elements/shared_vars_css.html#newcode12 ui/webui/resources/cr_elements/shared_vars_css.html:12: --cr-control-label-spacing: 20px; On 2017/05/15 23:40:09, stevenjb wrote: > Is ...
3 years, 7 months ago (2017-05-15 23:49:29 UTC) #10
stevenjb
lgtm
3 years, 7 months ago (2017-05-15 23:54:34 UTC) #11
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/2886603002/20001
3 years, 7 months ago (2017-05-16 18:31:21 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 18:50:05 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/38438a522f398efbc70717d69c89...

Powered by Google App Engine
This is Rietveld 408576698