From 0562f3d834d28c121a4f5274fc51d45b2a59fe6f Mon Sep 17 00:00:00 2001 From: Marko Budiselic Date: Mon, 12 Oct 2015 17:42:37 +0200 Subject: [PATCH] fixes #353 --- SWTableViewCell/PodFiles/SWUtilityButtonView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SWTableViewCell/PodFiles/SWUtilityButtonView.m b/SWTableViewCell/PodFiles/SWUtilityButtonView.m index c36908f7..4d9e8523 100644 --- a/SWTableViewCell/PodFiles/SWUtilityButtonView.m +++ b/SWTableViewCell/PodFiles/SWUtilityButtonView.m @@ -119,8 +119,8 @@ - (void)setUtilityButtons:(NSArray *)utilityButtons WithButtonWidth:(CGFloat)wid self.widthConstraint.constant = (width * utilityButtons.count); - [self setNeedsLayout]; - + [self layoutSubviews]; + return; }