Skip to content

Commit

Permalink
Fix for AutoLayout constraints to baseline.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbpowell committed Aug 18, 2014
1 parent 447aa0f commit 715c156
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion MarqueeLabel.m
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,12 @@ - (void)labelReturnedToHome:(BOOL)finished {
return;
}

#pragma mark - Modified UILabel Getters/Setters
#pragma mark - Modified UILabel Methods/Getters/Setters

- (UIView *)viewForBaselineLayout {
// Use subLabel view for handling baseline layouts
return self.subLabel;
}

- (NSString *)text {
return self.subLabel.text;
Expand Down

0 comments on commit 715c156

Please sign in to comment.