Authored by Jonas Budelmann

update UILabel example

@@ -50,7 +50,7 @@ static UIEdgeInsets const kPadding = {10, 10, 10, 10}; @@ -50,7 +50,7 @@ static UIEdgeInsets const kPadding = {10, 10, 10, 10};
50 [self.bigButton mas_makeConstraints:^(MASConstraintMaker *make) { 50 [self.bigButton mas_makeConstraints:^(MASConstraintMaker *make) {
51 make.top.equalTo(self).insets(kPadding); 51 make.top.equalTo(self).insets(kPadding);
52 make.right.equalTo(self).insets(kPadding); 52 make.right.equalTo(self).insets(kPadding);
53 - // you don't need to define height or width as some UIView's such as UIButtons, UIImageViews and a few others have intrinsicContentSize 53 + make.width.equalTo(@100);
54 }]; 54 }];
55 55
56 [self.shortLabel mas_makeConstraints:^(MASConstraintMaker *make) { 56 [self.shortLabel mas_makeConstraints:^(MASConstraintMaker *make) {