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

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

Issue 2601513003: Fix the title alignment for the password bubble on Mac. (Closed)
Patch Set: Created 4 years 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/confirmation_password_saved_view_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.mm b/chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.mm
index 8b72196bae5f0f78853dcba2ca80dfa8fd17c470..19d1190defc1afa4d3ee32030fd083958a1c789c 100644
--- a/chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controller.mm
@@ -38,6 +38,7 @@
[label setDrawsBackground:NO];
[label setBezeled:NO];
[label setStringValue:title];
+ [label setAlignment:NSNaturalTextAlignment];
[label setFont:[NSFont systemFontOfSize:[NSFont systemFontSize]]];
[label sizeToFit];
[view addSubview:label.get()];
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698