From 4397874170f270b0b0d0148c0909b5f1846a9ce3 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 6 Nov 2013 01:13:42 +0400 Subject: fix constraints --- Juick/MessageCell.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Juick/MessageCell.m') diff --git a/Juick/MessageCell.m b/Juick/MessageCell.m index 1dda53d..48ddb36 100644 --- a/Juick/MessageCell.m +++ b/Juick/MessageCell.m @@ -79,10 +79,10 @@ }]; [self.bodyLabel makeConstraints:^(MASConstraintMaker *make) { + make.edges.equalTo(self.contentView).with.insets(padding).priorityLow(); make.leading.equalTo(self.contentView.leading).with.offset(padding.left); make.top.equalTo(self.avatar.bottom).with.offset(padding.top); make.trailing.equalTo(self.contentView.trailing).with.offset(-padding.right); - make.bottom.equalTo(self.contentView.bottom).with.offset(-padding.bottom); }]; self.didSetupConstraints = YES; -- cgit v1.2.3