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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/sad_tab_view.mm

Issue 328303007: [Mac] Yosemite: Center the sad tab help text (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/cocoa/tab_contents/sad_tab_view.mm
diff --git a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view.mm b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view.mm
index 9035ac811ca8c5614b86c123f7364bff85a63412..969b900b5167e9707a30ea46b593c259276a7c70 100644
--- a/chrome/browser/ui/cocoa/tab_contents/sad_tab_view.mm
+++ b/chrome/browser/ui/cocoa/tab_contents/sad_tab_view.mm
@@ -173,7 +173,6 @@ static const CGFloat kTabHorzMargin = 13;
NSViewMinXMargin|NSViewWidthSizable|NSViewMaxXMargin|NSViewMinYMargin];
[self addSubview:help_];
[help_ setDelegate:self];
- [help_ setAlignment:NSCenterTextAlignment];
// Get the help text and link.
size_t linkOffset = 0;
@@ -187,6 +186,7 @@ static const CGFloat kTabHorzMargin = 13;
font:font
messageColor:[NSColor whiteColor]
linkColor:[NSColor whiteColor]];
+ [help_ setAlignment:NSCenterTextAlignment];
}
// Called when someone clicks on the embedded link.
« 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