|
|
@@ -141,11 +141,12 @@ static const int delta = 25;
|
|
|
// self.scrollview.contentSize=self.tableview.frame.size;
|
|
|
|
|
|
// auto layout
|
|
|
- int width=[self.content_layout[@"header"][@"width"] intValue];
|
|
|
- if(width<self.view.frame.size.width)
|
|
|
- width=self.view.frame.size.width;
|
|
|
- self.w_constraint.constant = width - CGRectGetWidth(self.view.bounds);
|
|
|
- self.h_constraint.constant = 0;
|
|
|
+// int width=[self.content_layout[@"header"][@"width"] intValue];
|
|
|
+// if(width<self.view.frame.size.width)
|
|
|
+// width=self.view.frame.size.width;
|
|
|
+// self.w_constraint.constant = width - CGRectGetWidth(self.view.bounds);
|
|
|
+// self.h_constraint.constant = 0;
|
|
|
+ [self updateTableFrame];
|
|
|
|
|
|
}
|
|
|
#pragma mark - TableView DataSource
|