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

Unified Diff: ash/common/system/date/date_view.cc

Issue 2531713002: [ash-md] Update text layout in system menu. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/common/system/tray/tray_popup_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/date/date_view.cc
diff --git a/ash/common/system/date/date_view.cc b/ash/common/system/date/date_view.cc
index f5f12f41308aab973cb374f8ab5b79db49072d77..41aa1919a98077068175bbb9c0a0bc925eb27a6b 100644
--- a/ash/common/system/date/date_view.cc
+++ b/ash/common/system/date/date_view.cc
@@ -167,7 +167,8 @@ DateView::DateView(SystemTrayItem* owner)
if (UseMd()) {
// TODO(tdanderson): Tweak spacing and layout for material design.
views::BoxLayout* box_layout =
- new views::BoxLayout(views::BoxLayout::kHorizontal, 8, 0, 0);
+ new views::BoxLayout(views::BoxLayout::kHorizontal, 0, 0, 0);
+ box_layout->set_inside_border_insets(gfx::Insets(0, 12, 0, 0));
tdanderson 2016/11/25 00:01:38 right param should be 8
bruthig 2016/11/25 00:15:26 Done.
box_layout->set_main_axis_alignment(
views::BoxLayout::MAIN_AXIS_ALIGNMENT_START);
box_layout->set_cross_axis_alignment(
« no previous file with comments | « no previous file | ash/common/system/tray/tray_popup_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698