Index: ash/system/power/tray_power.cc |
diff --git a/ash/system/power/tray_power.cc b/ash/system/power/tray_power.cc |
index c15789044a8c7c3a27b792582071df6caa3ed0af..18c3364e4ac77b3fa5631f3ad7f9a01e4bca7a4f 100644 |
--- a/ash/system/power/tray_power.cc |
+++ b/ash/system/power/tray_power.cc |
@@ -195,10 +195,14 @@ views::View* TrayPower::CreateDefaultView(user::LoginStatus status) { |
container->set_background(views::Background::CreateSolidBackground( |
kHeaderBackgroundColor)); |
HoverHighlightView* view = new HoverHighlightView(NULL); |
- view->SetLayoutManager(new views::BoxLayout(views::BoxLayout::kHorizontal, |
- kTrayPopupPaddingHorizontal, kPaddingVertical, 0)); |
+ view->SetLayoutManager(new views::FillLayout); |
view->AddChildView(date_.get()); |
+ date_->set_border(views::Border::CreateEmptyBorder(kPaddingVertical, |
+ kTrayPopupPaddingHorizontal, |
+ kPaddingVertical, |
+ kTrayPopupPaddingHorizontal)); |
container->AddChildView(view); |
+ view->set_focusable(false); |
if (status != user::LOGGED_IN_NONE && status != user::LOGGED_IN_LOCKED) { |
date_->SetActionable(true); |