Skip to content

Commit

Permalink
完善朋友圈demo
Browse files Browse the repository at this point in the history
  • Loading branch information
gsdios committed Jan 25, 2016
1 parent e247e99 commit 24d55e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file not shown.
2 changes: 2 additions & 0 deletions SDAutoLayoutDemo/DemoVC/DemoVC9/DemoVC9Cell.m
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,10 @@ - (void)setModel:(Demo9Model *)model
_moreButton.hidden = NO;
if (model.isOpening) { // 如果需要展开
_contentLabel.sd_layout.maxHeightIs(MAXFLOAT);
[_moreButton setTitle:@"收起文字" forState:UIControlStateNormal];
} else {
_contentLabel.sd_layout.maxHeightIs(60);
[_moreButton setTitle:@"显示全部" forState:UIControlStateNormal];
}
} else {
_moreButton.sd_layout.heightIs(0);
Expand Down

0 comments on commit 24d55e2

Please sign in to comment.