Skip to content

Commit 0af1c4f

Browse files
committed
实现了动态数据的UI小调整
1 parent 355c745 commit 0af1c4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Coding_iOS/Views/DynamicActivityCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ + (CGFloat)cellHeightWithObj:(id)obj
156156
NSAttributedString *attrContent = [self attrContentWithObj:obj];
157157
CGFloat contentHeight = [attrContent boundingRectWithSize:CGSizeMake(kTaskActivityCell_ContentWidth, CGFLOAT_MAX) options:NSStringDrawingUsesLineFragmentOrigin context:nil].size.height;
158158
cellHeight = ceilf(contentHeight + 26);
159-
cellHeight = MAX(44, cellHeight);
159+
cellHeight = MAX(50, cellHeight);
160160
}
161161

162162
if([tmpProject.action isEqual:@"mergeChanges"])

0 commit comments

Comments
 (0)