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

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

Issue 2531713002: [ash-md] Update text layout in system menu. (Closed)
Patch Set: Fixed right padding to be 8. 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..e2ca2a0a23bf0676367c02dab5801fb39d49d011 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, 8));
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