Brion VIBBER has submitted this change and it was merged. Change subject: Nav bar label can shrink text a bit for long l10n strings. ......................................................................
Nav bar label can shrink text a bit for long l10n strings. Change-Id: I988ea99a5857fa827d596a5d4b5493196516e983 --- M wikipedia/View Controllers/TopNav/NavController.m 1 file changed, 2 insertions(+), 0 deletions(-) Approvals: Brion VIBBER: Verified; Looks good to me, approved diff --git a/wikipedia/View Controllers/TopNav/NavController.m b/wikipedia/View Controllers/TopNav/NavController.m index 7e15691..bf8af70 100644 --- a/wikipedia/View Controllers/TopNav/NavController.m +++ b/wikipedia/View Controllers/TopNav/NavController.m @@ -353,6 +353,8 @@ self.label.translatesAutoresizingMaskIntoConstraints = NO; self.label.tag = NAVBAR_LABEL; self.label.font = [UIFont boldSystemFontOfSize:15.0]; + self.label.adjustsFontSizeToFitWidth = YES; + self.label.minimumScaleFactor = 0.5f; self.label.textColor = [UIColor darkGrayColor]; self.label.backgroundColor = [UIColor clearColor]; self.label.userInteractionEnabled = YES; -- To view, visit https://gerrit.wikimedia.org/r/126047 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I988ea99a5857fa827d596a5d4b5493196516e983 Gerrit-PatchSet: 1 Gerrit-Project: apps/ios/wikipedia Gerrit-Branch: master Gerrit-Owner: Mhurd <mh...@wikimedia.org> Gerrit-Reviewer: Brion VIBBER <br...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits