fix layout (socialWorkContainerViewHeightConstraint need >= 44)

This commit is contained in:
nixzhu
2015-11-26 17:40:20 +08:00
parent ac19f63caf
commit 80da0b92cd
@@ -102,7 +102,7 @@ class FeedSocialWorkCell: FeedBasicCell {
case .DribbbleShot:
height += (dribbbleShotHeight + 15)
case .Audio:
height += (40 + 15)
height += (44 + 15)
default:
break
}
@@ -175,7 +175,7 @@ class FeedSocialWorkCell: FeedBasicCell {
linkContainerViewHeightConstraint.constant = linkContainerViewHeight
socialWorkContainerViewHeightConstraint.constant = dribbbleShotHeight
mediaContainerView.layoutIfNeeded()
contentView.layoutIfNeeded()
case .Audio:
@@ -196,7 +196,7 @@ class FeedSocialWorkCell: FeedBasicCell {
}
}
socialWorkContainerViewHeightConstraint.constant = 40
socialWorkContainerViewHeightConstraint.constant = 44
default:
break