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

Unified Diff: chrome/browser/ui/views/passwords/manage_password_item_view.cc

Issue 274803003: Password bubble: Fix size of "Password deleted" and "Undo" UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« 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: chrome/browser/ui/views/passwords/manage_password_item_view.cc
diff --git a/chrome/browser/ui/views/passwords/manage_password_item_view.cc b/chrome/browser/ui/views/passwords/manage_password_item_view.cc
index 647ce0a2b702fcca85e7c410d342c4c55ad70651..fcd24d5f864e974fd8245bedf7e9ea43718244fc 100644
--- a/chrome/browser/ui/views/passwords/manage_password_item_view.cc
+++ b/chrome/browser/ui/views/passwords/manage_password_item_view.cc
@@ -107,12 +107,16 @@ ManagePasswordItemView::UndoView::UndoView(ManagePasswordItemView* parent)
views::Label* text =
new views::Label(l10n_util::GetStringUTF16(IDS_MANAGE_PASSWORDS_DELETED));
text->SetHorizontalAlignment(gfx::ALIGN_LEFT);
+ text->SetFontList(ui::ResourceBundle::GetSharedInstance().GetFontList(
+ ui::ResourceBundle::SmallFont));
undo_link_ =
new views::Link(l10n_util::GetStringUTF16(IDS_MANAGE_PASSWORDS_UNDO));
undo_link_->SetHorizontalAlignment(gfx::ALIGN_RIGHT);
undo_link_->set_listener(this);
undo_link_->SetUnderline(false);
+ undo_link_->SetFontList(ui::ResourceBundle::GetSharedInstance().GetFontList(
+ ui::ResourceBundle::SmallFont));
parent->BuildColumnSet(layout, TWO_COLUMN_SET);
layout->StartRowWithPadding(
« 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