project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
branchios-revival
changeset 11327 a0163b8302c5
parent 11325 d98070707214
child 11549 893722a2a1f9
--- a/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m	Mon Nov 09 04:25:29 2015 +0100
+++ b/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m	Mon Nov 09 05:02:53 2015 +0100
@@ -210,7 +210,7 @@
     label.textColor = [UIColor whiteColor];
     label.numberOfLines = 2;
     label.backgroundColor = [UIColor clearColor];
-    label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin;
+    label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleWidth;
 
     if (section == 0)
         label.text = NSLocalizedString(@"Tap to add hogs or change color, touch and hold to remove a team.",@"");