Skip to content

Commit

Permalink
Merge pull request samvermette#82 from funkadelic/master
Browse files Browse the repository at this point in the history
Update title & subtitle label widths
  • Loading branch information
samvermette committed Nov 14, 2012
2 parents fd1aa6f + 349d21e commit f54d487
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SVPullToRefresh/UIScrollView+SVPullToRefresh.m
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ - (UIActivityIndicatorView *)activityIndicatorView {

- (UILabel *)titleLabel {
if(!_titleLabel) {
_titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 20, 150, 20)];
_titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 20, 210, 20)];
_titleLabel.text = NSLocalizedString(@"Pull to refresh...",);
_titleLabel.font = [UIFont boldSystemFontOfSize:14];
_titleLabel.backgroundColor = [UIColor clearColor];
Expand All @@ -313,7 +313,7 @@ - (UILabel *)titleLabel {

- (UILabel *)subtitleLabel {
if(!_subtitleLabel) {
_subtitleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 28, 180, 20)];
_subtitleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 28, 210, 20)];
_subtitleLabel.font = [UIFont systemFontOfSize:12];
_subtitleLabel.backgroundColor = [UIColor clearColor];
_subtitleLabel.textColor = textColor;
Expand Down

0 comments on commit f54d487

Please sign in to comment.