Skip to content

Commit aaf9682

Browse files
authored
Merge pull request #588 from borys-tkachenko-hs/Fix-title-label
Fix multiline title
2 parents 83298c5 + b59e20b commit aaf9682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objective-C/TOCropViewController/TOCropViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ - (UILabel *)titleLabel
10251025
_titleLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleHeadline];
10261026
_titleLabel.backgroundColor = [UIColor clearColor];
10271027
_titleLabel.textColor = [UIColor whiteColor];
1028-
_titleLabel.numberOfLines = 1;
1028+
_titleLabel.numberOfLines = 0;
10291029
_titleLabel.baselineAdjustment = UIBaselineAdjustmentAlignBaselines;
10301030
_titleLabel.clipsToBounds = YES;
10311031
_titleLabel.textAlignment = NSTextAlignmentCenter;

0 commit comments

Comments
 (0)