|
|
@@ -33,8 +33,8 @@
|
|
|
emptyView.tipLabel.text = title;
|
|
|
|
|
|
[emptyView.tipLabel sizeToFit];
|
|
|
- CGSize size = emptyView.bounds.size;
|
|
|
- emptyView.frame = CGRectMake(0, 0, size.width + 10, size.height + 10);
|
|
|
+ CGSize size = emptyView.tipLabel.bounds.size;
|
|
|
+ emptyView.frame = CGRectMake(0, 0, size.width + 20, size.height + 20);
|
|
|
|
|
|
return emptyView;
|
|
|
}
|