project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
changeset 4284 57a501a69e5f
parent 4244 bf46b4bdf27d
child 4356 d1d26f8963a3
--- a/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m	Fri Nov 12 22:47:13 2010 +0100
+++ b/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m	Fri Nov 12 23:59:40 2010 +0100
@@ -125,7 +125,12 @@
             [cell addSubview:squareButton];
             [squareButton release];
 
-            UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(12+88+6+36, 10, 103, 25)];
+            NSInteger length;
+            if (IS_IPAD())
+                length = 103;
+            else
+                length = 285;
+            UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(12+88+6+36, 10, length, 25)];
             label.textAlignment = UITextAlignmentLeft;
             label.minimumFontSize = 11;
             label.adjustsFontSizeToFitWidth = YES;