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

Unified Diff: ui/message_center/message_center_bubble.cc

Issue 12221126: Minor fix on message center footer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_bubble.cc
diff --git a/ui/message_center/message_center_bubble.cc b/ui/message_center/message_center_bubble.cc
index 2e5d8d61c7b684c2837e0d270dab08e919733709..a13654cf247ac3e0ec9b919859868903ac845ba1 100644
--- a/ui/message_center/message_center_bubble.cc
+++ b/ui/message_center/message_center_bubble.cc
@@ -180,6 +180,9 @@ class WebNotificationButtonView2 : public WebNotificationButtonViewBase,
: WebNotificationButtonViewBase(list_delegate) {
set_background(views::Background::CreateSolidBackground(
kMessageCenterBackgroundColor));
+ set_border(views::Border::CreateSolidSidedBorder(
+ 1, 0, 0, 0, kFooterDelimiterColor));
+
notification_label_ = new views::Label(l10n_util::GetStringUTF16(
IDS_MESSAGE_CENTER_FOOTER_TITLE));
@@ -197,7 +200,8 @@ class WebNotificationButtonView2 : public WebNotificationButtonViewBase,
views::GridLayout* layout = new views::GridLayout(this);
SetLayoutManager(layout);
- layout->SetInsets(0, kFooterMargin, kMarginBetweenItems, 0);
+ layout->SetInsets(
+ kMarginBetweenItems, kFooterMargin, kMarginBetweenItems, 0);
views::ColumnSet* column = layout->AddColumnSet(0);
column->AddColumn(views::GridLayout::FILL, views::GridLayout::FILL,
1.0f, views::GridLayout::USE_PREF, 0, 0);
@@ -308,7 +312,7 @@ class ScrollContentView : public views::View {
set_border(views::Border::CreateEmptyBorder(
kMarginBetweenItems - shadow_insets.top(), /* top */
kMarginBetweenItems - shadow_insets.left(), /* left */
- kMarginBetweenItems - shadow_insets.bottom(), /* bottom */
+ 0, /* bottom */
kMarginBetweenItems - shadow_insets.right() /* right */ ));
} else {
views::BoxLayout* layout =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698