From ac52f386121e4a64d6b644de3c084183dd2bf261 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Fri, 31 Aug 2012 11:47:50 +0200 Subject: [PATCH] Disabled custom button title font because of odd iOS bug. [FIXED] Odd bug that causes imageViews to get oddly stretched. --- MasterPassword/iOS/MPAppDelegate.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MasterPassword/iOS/MPAppDelegate.m b/MasterPassword/iOS/MPAppDelegate.m index b7a8a059..bc80bac5 100644 --- a/MasterPassword/iOS/MPAppDelegate.m +++ b/MasterPassword/iOS/MPAppDelegate.m @@ -154,8 +154,9 @@ @{ UITextAttributeTextColor: [UIColor colorWithRed:1.0f green:1.0f blue:1.0f alpha:1.0f], UITextAttributeTextShadowColor: [UIColor colorWithRed:0.0f green:0.0f blue:0.0f alpha:0.5f], - UITextAttributeTextShadowOffset: [NSValue valueWithUIOffset:UIOffsetMake(0, 1)], - UITextAttributeFont: [UIFont fontWithName:@"HelveticaNeue" size:0.0f] + UITextAttributeTextShadowOffset: [NSValue valueWithUIOffset:UIOffsetMake(0, 1)]//, + // Causes a bug in iOS where image views get oddly stretched... or something. + //UITextAttributeFont: [UIFont fontWithName:@"HelveticaNeue" size:13.0f] } forState:UIControlStateNormal];