project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
changeset 11554 893722a2a1f9
parent 11354 a0163b8302c5
child 12877 00215a7ec5f5
equal deleted inserted replaced
11553:45982bda46cc 11554:893722a2a1f9
   203     footer.backgroundColor = [UIColor clearColor];
   203     footer.backgroundColor = [UIColor clearColor];
   204     footer.autoresizingMask = UIViewAutoresizingFlexibleWidth;
   204     footer.autoresizingMask = UIViewAutoresizingFlexibleWidth;
   205 
   205 
   206     UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, aTableView.frame.size.width*90/100, height)];
   206     UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, aTableView.frame.size.width*90/100, height)];
   207     label.center = CGPointMake(aTableView.frame.size.width/2, height/2);
   207     label.center = CGPointMake(aTableView.frame.size.width/2, height/2);
   208     label.textAlignment = UITextAlignmentCenter;
   208     label.textAlignment = NSTextAlignmentCenter;
   209     label.font = [UIFont italicSystemFontOfSize:12];
   209     label.font = [UIFont italicSystemFontOfSize:12];
   210     label.textColor = [UIColor whiteColor];
   210     label.textColor = [UIColor whiteColor];
   211     label.numberOfLines = 2;
   211     label.numberOfLines = 2;
   212     label.backgroundColor = [UIColor clearColor];
   212     label.backgroundColor = [UIColor clearColor];
   213     label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleWidth;
   213     label.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleWidth;