- Fix for strange problem with table view in StatsPage - rowHeight is 1 by default. So, fixed by implicit size. ios-revival
authorantonc27 <antonc27@mail.ru>
Fri, 14 Aug 2015 02:09:46 +0200
branchios-revival
changeset 11118 600a5af8d61f
parent 11117 0bec360580b3
child 11119 f08d5bb1d2b0
- Fix for strange problem with table view in StatsPage - rowHeight is 1 by default. So, fixed by implicit size.
project_files/HedgewarsMobile/Classes/StatsPageViewController.m
--- a/project_files/HedgewarsMobile/Classes/StatsPageViewController.m	Fri Aug 14 02:04:46 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/StatsPageViewController.m	Fri Aug 14 02:09:46 2015 +0200
@@ -44,7 +44,9 @@
     aTableView.separatorStyle = UITableViewCellSeparatorStyleNone;
     aTableView.delegate = self;
     aTableView.dataSource = self;
-
+    
+    aTableView.rowHeight = 44;
+    
     [self.view addSubview:aTableView];
     [aTableView release];