Index: ash/system/chromeos/label_tray_view.cc |
diff --git a/ash/system/chromeos/label_tray_view.cc b/ash/system/chromeos/label_tray_view.cc |
index 8398421d60e63467dc09e995b168dc289b3b6088..5af294efe09271236af9882e08562d3281cfbeb9 100644 |
--- a/ash/system/chromeos/label_tray_view.cc |
+++ b/ash/system/chromeos/label_tray_view.cc |
@@ -50,13 +50,14 @@ views::View* LabelTrayView::CreateChildView( |
child->set_border( |
views::Border::CreateEmptyBorder(0, kTrayPopupPaddingHorizontal, |
0, kTrayPopupPaddingHorizontal)); |
+ child->text_label()->SetMultiLine(true); |
child->text_label()->SizeToFit(kTrayNotificationContentsWidth); |
} else { |
child->AddLabel(message, gfx::Font::NORMAL); |
+ child->text_label()->SetMultiLine(true); |
child->text_label()->SizeToFit(kTrayNotificationContentsWidth + |
kNotificationIconWidth); |
} |
- child->text_label()->SetMultiLine(true); |
child->text_label()->SetAllowCharacterBreak(true); |
child->SetExpandable(true); |
child->SetVisible(true); |