From 86c43c406ec03927789fcd024f01b2877c8a90ee Mon Sep 17 00:00:00 2001 From: Stephan Diederich Date: Tue, 14 Feb 2012 13:57:28 +0100 Subject: [PATCH] fix size of activity indicator for TTActivityLabelStyle{BlackBezel,BlackBox] this came up in iOS 5. Probably setting the size of the activityIndicator to 24x24 fixed this before fixes #715 --- src/Three20UI/Sources/TTActivityLabel.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Three20UI/Sources/TTActivityLabel.m b/src/Three20UI/Sources/TTActivityLabel.m index ced0049b32..42f15000f9 100644 --- a/src/Three20UI/Sources/TTActivityLabel.m +++ b/src/Three20UI/Sources/TTActivityLabel.m @@ -113,7 +113,7 @@ - (id)initWithFrame:(CGRect)frame style:(TTActivityLabelStyle)style text:(NSStri } else if (_style == TTActivityLabelStyleBlackBezel || _style == TTActivityLabelStyleBlackBox) { _activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle: - UIActivityIndicatorViewStyleWhiteLarge]; + UIActivityIndicatorViewStyleWhite]; _activityIndicator.frame = CGRectMake(0, 0, 24, 24); _label.font = TTSTYLEVAR(activityLabelFont); _label.textColor = [UIColor whiteColor];