project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m
changeset 6670 d57fa21781ea
parent 6657 e1125559359f
child 6671 5532d5f6285c
equal deleted inserted replaced
6669:3933198e2b28 6670:d57fa21781ea
   187 
   187 
   188 -(CGFloat) tableView:(UITableView *)aTableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
   188 -(CGFloat) tableView:(UITableView *)aTableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
   189     if (0 == [indexPath section])
   189     if (0 == [indexPath section])
   190         return aTableView.rowHeight;
   190         return aTableView.rowHeight;
   191     else
   191     else
   192         return 120;
   192         return UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]) ? 208 : 120;
   193 }
   193 }
   194 
   194 
   195 -(NSString *)tableView:(UITableView *)aTableView titleForHeaderInSection:(NSInteger)section {
   195 -(NSString *)tableView:(UITableView *)aTableView titleForHeaderInSection:(NSInteger)section {
   196     NSString *sectionTitle = nil;
   196     NSString *sectionTitle = nil;
   197     switch (section) {
   197     switch (section) {