refresh
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
}
|
||||
UIFont *textFont = [UIFont boldSystemFontOfSize:15];
|
||||
CGFloat width = [self.typeLabel.text boundingRectWithSize:CGSizeMake(MAXFLOAT, 30) options:NSStringDrawingTruncatesLastVisibleLine | NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading attributes:@{NSFontAttributeName: textFont} context:nil].size.width;
|
||||
self.widthConstraint.constant = width+20;
|
||||
self.widthConstraint.constant = width+10;
|
||||
self.dateLabel.text = self.list.createTime;
|
||||
self.titleLabel.text = self.list.title;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user