Skip to content

Commit 201989e

Browse files
committed
Reverting 047cd75
1 parent 4ec4963 commit 201989e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

SWTableViewCell/PodFiles/SWTableViewCell.m

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@ - (void)setLeftUtilityButtons:(NSArray *)leftUtilityButtons
242242
_leftUtilityButtons = leftUtilityButtons;
243243

244244
self.leftUtilityButtonsView.utilityButtons = leftUtilityButtons;
245+
246+
[self.leftUtilityButtonsView layoutIfNeeded];
247+
[self layoutIfNeeded];
245248
}
246249
}
247250

@@ -250,6 +253,9 @@ - (void)setLeftUtilityButtons:(NSArray *)leftUtilityButtons WithButtonWidth:(CGF
250253
_leftUtilityButtons = leftUtilityButtons;
251254

252255
[self.leftUtilityButtonsView setUtilityButtons:leftUtilityButtons WithButtonWidth:width];
256+
257+
[self.leftUtilityButtonsView layoutIfNeeded];
258+
[self layoutIfNeeded];
253259
}
254260

255261
- (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons
@@ -258,6 +264,9 @@ - (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons
258264
_rightUtilityButtons = rightUtilityButtons;
259265

260266
self.rightUtilityButtonsView.utilityButtons = rightUtilityButtons;
267+
268+
[self.rightUtilityButtonsView layoutIfNeeded];
269+
[self layoutIfNeeded];
261270
}
262271
}
263272

@@ -266,6 +275,9 @@ - (void)setRightUtilityButtons:(NSArray *)rightUtilityButtons WithButtonWidth:(C
266275
_rightUtilityButtons = rightUtilityButtons;
267276

268277
[self.rightUtilityButtonsView setUtilityButtons:rightUtilityButtons WithButtonWidth:width];
278+
279+
[self.rightUtilityButtonsView layoutIfNeeded];
280+
[self layoutIfNeeded];
269281
}
270282

271283
#pragma mark - UITableViewCell overrides

0 commit comments

Comments
 (0)