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

Unified Diff: chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_controller.mm

Issue 2773733002: Fix Password bubble title misalignment. (Closed)
Patch Set: Fix comment Created 3 years, 9 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 | chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_controller.mm b/chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_controller.mm
index b7365576aef8ace14e7cfe0d9f0f38095d26c16e..e24db77f86785864a1eb09d1c00df161557669ff 100644
--- a/chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_controller.mm
@@ -88,7 +88,9 @@
withURL:nil
linkColor:linkColor];
[confirmationText_ setDelegate:self];
- [[confirmationText_ textContainer] setLineFragmentPadding:0.0f];
+ // Set the same text inset as in the title.
+ [[confirmationText_ textContainer]
+ setLineFragmentPadding:kConfirmationBubbleContentInset];
// Force the text to wrap to fit in the bubble size.
[confirmationText_ setVerticallyResizable:YES];
[confirmationText_
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698