Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
fix size of activity indicator for TTActivityLabelStyle{BlackBezel,Bl…
Browse files Browse the repository at this point in the history
…ackBox]

this came up in iOS 5. Probably setting the size of the activityIndicator to 24x24 fixed this before
fixes #715
  • Loading branch information
diederich committed Feb 14, 2012
1 parent 886b921 commit 86c43c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Three20UI/Sources/TTActivityLabel.m
Expand Up @@ -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];
Expand Down

0 comments on commit 86c43c4

Please sign in to comment.