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

Unified Diff: ios/chrome/browser/ui/authentication/signin_promo_view.mm

Issue 2825293002: 'Continue as' button should be truncated at the end. (Closed)
Patch Set: Merging top of tree Created 3 years, 8 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: ios/chrome/browser/ui/authentication/signin_promo_view.mm
diff --git a/ios/chrome/browser/ui/authentication/signin_promo_view.mm b/ios/chrome/browser/ui/authentication/signin_promo_view.mm
index 3708677655bb4a56a9afeda005ec75e1d8c42579..bab01cc0082bcd2352838d12851d0aa55fb56ac5 100644
--- a/ios/chrome/browser/ui/authentication/signin_promo_view.mm
+++ b/ios/chrome/browser/ui/authentication/signin_promo_view.mm
@@ -61,6 +61,7 @@ const CGFloat kButtonHeight = 36;
_primaryButton = [[MDCFlatButton alloc] init];
_primaryButton.translatesAutoresizingMaskIntoConstraints = NO;
_primaryButton.accessibilityIdentifier = @"signin_promo_primary_button";
+ _primaryButton.titleLabel.lineBreakMode = NSLineBreakByTruncatingTail;
[_primaryButton addTarget:self
action:@selector(onPrimaryButtonAction:)
forControlEvents:UIControlEventTouchUpInside];
« 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