# HG changeset patch # User antonc27 # Date 1447041773 -3600 # Node ID a0163b8302c592aac60d98134bb6730f390fcaad # Parent 62af5c67662df185c8ceb352965c28f83598ca56 - Fix for wrong footer labels size on autorotation on GameConfig screen diff -r 62af5c67662d -r a0163b8302c5 project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m --- a/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m Mon Nov 09 04:25:29 2015 +0100 +++ b/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m Mon Nov 09 05:02:53 2015 +0100 @@ -275,7 +275,7 @@ label.textColor = [UIColor whiteColor]; label.numberOfLines = 2; label.backgroundColor = [UIColor clearColor]; - label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin; + label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleWidth; label.text = NSLocalizedString(@"Setting a Style might force a particular Scheme or Weapon configuration.",@""); diff -r 62af5c67662d -r a0163b8302c5 project_files/HedgewarsMobile/Classes/TeamConfigViewController.m --- 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.",@"");