diff options
author | Vitaly Takmazov | 2013-11-06 01:13:42 +0400 |
---|---|---|
committer | Vitaly Takmazov | 2013-11-06 01:13:42 +0400 |
commit | 4397874170f270b0b0d0148c0909b5f1846a9ce3 (patch) | |
tree | 8705bb6c6e7c797e1c9ec1cedac6c8daf167db9d | |
parent | c3750f7891ab73ed4c4bfa8ddc59969fe77b0d9e (diff) |
fix constraints
-rw-r--r-- | Juick/MessageCell.m | 2 |
1 files changed, 1 insertions, 1 deletions
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; |