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

Unified Diff: ui/message_center/views/notification_view.cc

Issue 14654018: Make Label's NO_ELIDE setting actually not elide, and change the default (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 months 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
Index: ui/message_center/views/notification_view.cc
===================================================================
--- ui/message_center/views/notification_view.cc (revision 200651)
+++ ui/message_center/views/notification_view.cc (working copy)
@@ -137,7 +137,6 @@
views::Label* title = new views::Label(item.title);
title->set_collapse_when_hidden(true);
title->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- title->SetElideBehavior(views::Label::ELIDE_AT_END);
title->SetEnabledColor(message_center::kRegularTextColor);
title->SetBackgroundColor(kRegularTextBackgroundColor);
AddChildView(title);
@@ -145,7 +144,6 @@
views::Label* message = new views::Label(item.message);
message->set_collapse_when_hidden(true);
message->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- message->SetElideBehavior(views::Label::ELIDE_AT_END);
message->SetEnabledColor(kDimTextColor);
message->SetBackgroundColor(kDimTextBackgroundColor);
AddChildView(message);
@@ -305,7 +303,6 @@
} else {
title_ = new views::Label(title);
title_->SetHorizontalAlignment(gfx::ALIGN_LEFT);
- title_->SetElideBehavior(views::Label::ELIDE_AT_END);
title_->SetEnabledColor(message_center::kRegularTextColor);
title_->SetBackgroundColor(kRegularTextBackgroundColor);
title_->set_border(MakeEmptyBorder(kButtonTitleTopPadding, 0, 0, 0));

Powered by Google App Engine
This is Rietveld 408576698