| Index: ash/system/date/date_view.cc
|
| diff --git a/ash/system/date/date_view.cc b/ash/system/date/date_view.cc
|
| index ebd98d14e5fb17c470fc01b8d3ac8653118f46c3..3ba47d67a2a7fb51097384e3c1286ce12bda12c6 100644
|
| --- a/ash/system/date/date_view.cc
|
| +++ b/ash/system/date/date_view.cc
|
| @@ -222,14 +222,14 @@ void TimeView::UpdateClockLayout(TrayDate::ClockLayout clock_layout){
|
| 0, views::GridLayout::USE_PREF, 0, 0);
|
| columns->AddColumn(views::GridLayout::CENTER, views::GridLayout::CENTER,
|
| 0, views::GridLayout::USE_PREF, 0, 0);
|
| - layout->AddPaddingRow(0, 4);
|
| + layout->AddPaddingRow(0, kTrayLabelItemVerticalPaddingVeriticalAlignment);
|
| layout->StartRow(0, 0);
|
| layout->AddView(label_hour_left_.get());
|
| layout->AddView(label_hour_right_.get());
|
| layout->StartRow(0, 0);
|
| layout->AddView(label_minute_left_.get());
|
| layout->AddView(label_minute_right_.get());
|
| - layout->AddPaddingRow(0, 4);
|
| + layout->AddPaddingRow(0, kTrayLabelItemVerticalPaddingVeriticalAlignment);
|
| }
|
| Layout();
|
| set_focusable(true);
|
| @@ -237,7 +237,9 @@ void TimeView::UpdateClockLayout(TrayDate::ClockLayout clock_layout){
|
|
|
| void TimeView::SetBorder(TrayDate::ClockLayout clock_layout) {
|
| if (clock_layout == TrayDate::HORIZONTAL_CLOCK)
|
| - set_border(views::Border::CreateEmptyBorder(0, 10, 0, 7));
|
| + set_border(views::Border::CreateEmptyBorder(
|
| + 0, kTrayLabelItemHorizontalPaddingBottomAlignment,
|
| + 0, kTrayLabelItemHorizontalPaddingBottomAlignment));
|
| else
|
| set_border(NULL);
|
| }
|
|
|