|
|
@@ -117,6 +117,7 @@
|
|
|
|
|
|
CGRect frame = CGRectZero;
|
|
|
self.titleLabel.text = title;
|
|
|
+ self.titleLabel.bounds = CGRectZero;
|
|
|
[self.titleLabel sizeToFit];
|
|
|
frame = self.titleLabel.bounds;
|
|
|
frame.origin = CGPointMake(5, 5);
|
|
|
@@ -130,6 +131,7 @@
|
|
|
|
|
|
CGFloat w1 = maxWidth;
|
|
|
self.detailLabel.text = detail;
|
|
|
+ self.detailLabel.bounds = CGRectZero;
|
|
|
[self.detailLabel sizeToFit];
|
|
|
frame.origin.y = CGRectGetMaxY(frame) + 5;
|
|
|
frame.size = self.detailLabel.bounds.size;
|