@@ -59,7 +59,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
5959 if (!_labelAddBtn) {
6060 _labelAddBtn = [[UIButton alloc ] initWithFrame: CGRectMake (kScreen_Width -44 , 0 , 44 , 44 )];
6161 [_labelAddBtn setImage: [UIImage imageNamed: @" tag_add" ] forState: UIControlStateNormal];
62- [_labelAddBtn setImageEdgeInsets: UIEdgeInsetsMake (14 , 14 , 14 , 14 )];
62+ [_labelAddBtn setImageEdgeInsets: UIEdgeInsetsMake (12 , 12 , 12 , 12 )];
6363 [_labelAddBtn addTarget: self action: @selector (addtitleBtnClick ) forControlEvents: UIControlEventTouchUpInside];
6464 [self .contentView addSubview: _labelAddBtn];
6565 }
@@ -140,14 +140,14 @@ - (void)setCurTopic:(ProjectTopic *)curTopic
140140 if (_labelView) {
141141 [_labelView removeFromSuperview ];
142142 }
143- _labelView = [[ProjectTopicLabelView alloc ] initWithFrame: CGRectMake (kPaddingLeftWidth , 0 , curWidth, 20 ) projectTopic: _curTopic md: NO ];
143+ _labelView = [[ProjectTopicLabelView alloc ] initWithFrame: CGRectMake (kPaddingLeftWidth , 0 , curWidth, 24 ) projectTopic: _curTopic md: NO ];
144144 __weak typeof (self) weakSelf = self;
145145 _labelView.delLabelBlock = ^(NSInteger index) {
146146 [weakSelf delBtnClick: index];
147147 };
148148 [self .contentView insertSubview: _labelView belowSubview: _labelAddBtn];
149149
150- [_labelAddBtn setY: curBottomY - 11 ];
150+ [_labelAddBtn setY: curBottomY - 10 ];
151151 [_labelView setY: curBottomY];
152152 [_labelView setHeight: _labelView.labelH];
153153 // _labelAddBtn.hidden = [_curTopic canEdit] ? FALSE : TRUE;
@@ -216,7 +216,7 @@ + (CGFloat)cellHeightWithObj:(id)obj
216216 CGFloat curWidth = kScreen_Width -2 *kPaddingLeftWidth ;
217217 cellHeight += 8 + [topic.title getHeightWithFont: kTopicContentCell_FontTitle constrainedToSize: CGSizeMake (curWidth, CGFLOAT_MAX)] + 16 + 20 ;
218218
219- CGFloat labelH = 20 ;
219+ CGFloat labelH = 24 ;
220220 if (topic.labels .count > 0 ) {
221221 CGFloat x = 0 .0f ;
222222 CGFloat y = 0 .0f ;
@@ -230,14 +230,14 @@ + (CGFloat)cellHeightWithObj:(id)obj
230230 tLbl.text = label.name ;
231231 [tLbl sizeToFit ];
232232
233- CGFloat width = tLbl.frame .size .width + 20 ;
233+ CGFloat width = tLbl.frame .size .width + 30 ;
234234 if (x + width > limitW) {
235- y += 26 .0f ;
235+ y += 30 .0f ;
236236 x = 0 .0f ;
237237 }
238238 x += width;
239239 }
240- labelH = y + 20 ;
240+ labelH = y + 24 ;
241241 }
242242 // cellHeight += labelH + 24;
243243 cellHeight += labelH + 3 ;
0 commit comments