project_files/HedgewarsMobile/Classes/GameConfigViewController.m
changeset 3737 2ba6ac8a114b
parent 3705 e1959819a542
child 3739 97cf933e5bd2
--- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Thu Aug 12 23:15:11 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m	Fri Aug 13 02:13:18 2010 +0200
@@ -192,19 +192,14 @@
         mapConfigViewController.delegate = self;
         if (teamConfigViewController == nil)
             teamConfigViewController = [[TeamConfigViewController alloc] initWithStyle:UITableViewStyleGrouped];
-        teamConfigViewController.view.frame = CGRectMake(10, 70, 300, 600);
+        teamConfigViewController.view.frame = CGRectMake(362, 200, 300, 480);
         teamConfigViewController.view.backgroundColor = [UIColor clearColor];
         [mapConfigViewController.view addSubview:teamConfigViewController.view];
         if (schemeWeaponConfigViewController == nil)
             schemeWeaponConfigViewController = [[SchemeWeaponConfigViewController alloc] initWithStyle:UITableViewStyleGrouped];
-        schemeWeaponConfigViewController.view.frame = CGRectMake(362, 200, 300, 480);
+        schemeWeaponConfigViewController.view.frame = CGRectMake(10, 70, 300, 550);
         [mapConfigViewController.view addSubview:schemeWeaponConfigViewController.view];
-        for (UIView *oneView in self.view.subviews) {
-            if ([oneView isMemberOfClass:[UIToolbar class]]) {
-                [oneView setHidden:YES];
-                break;
-            }
-        }
+        mapConfigViewController.view.frame = CGRectMake(0, 0, screen.size.height, screen.size.width);
     } else {
         // this is the visible controller
         mapConfigViewController = [[MapConfigViewController alloc] initWithNibName:@"MapConfigViewController-iPhone" bundle:nil];