Skip to content

Commit 92ec9ca

Browse files
committed
项目动态
1 parent 2277da2 commit 92ec9ca

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

Coding_iOS/Controllers/ProjectViewController.m

100755100644
File mode changed.

Coding_iOS/Views/Cell/MemberCell.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ - (void)layoutSubviews{
5757
if (_curMember.type.intValue == 100) {//项目创建者
5858
NSString *nameStr = _curMember.user.name;
5959
CGFloat maxNameWidth = kMemberCell_MaxWidthForName - 30;
60-
CGFloat nameWidth = [nameStr getWidthWithFont:kMemberCell_FontForName constrainedToSize:CGSizeMake(kScreen_Width, CGFLOAT_MAX)];
60+
CGFloat nameWidth = [nameStr getWidthWithFont:kMemberCell_FontForName constrainedToSize:CGSizeMake(kScreen_Width, CGFLOAT_MAX)] + 5;
6161
nameWidth = MIN(nameWidth, maxNameWidth);
6262
[_memberNameLabel setWidth:nameWidth];
6363
_memberNameLabel.text = nameStr;

0 commit comments

Comments
 (0)