2
0

Disabled custom button title font because of odd iOS bug.

[FIXED]     Odd bug that causes imageViews to get oddly stretched.
This commit is contained in:
Maarten Billemont 2012-08-31 11:47:50 +02:00
parent 332808027f
commit ac52f38612

View File

@ -154,8 +154,9 @@
@{ @{
UITextAttributeTextColor: [UIColor colorWithRed:1.0f green:1.0f blue:1.0f alpha:1.0f], 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], UITextAttributeTextShadowColor: [UIColor colorWithRed:0.0f green:0.0f blue:0.0f alpha:0.5f],
UITextAttributeTextShadowOffset: [NSValue valueWithUIOffset:UIOffsetMake(0, 1)], UITextAttributeTextShadowOffset: [NSValue valueWithUIOffset:UIOffsetMake(0, 1)]//,
UITextAttributeFont: [UIFont fontWithName:@"HelveticaNeue" size:0.0f] // Causes a bug in iOS where image views get oddly stretched... or something.
//UITextAttributeFont: [UIFont fontWithName:@"HelveticaNeue" size:13.0f]
} }
forState:UIControlStateNormal]; forState:UIControlStateNormal];