project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
branchios-revival
changeset 11352 d98070707214
parent 11297 d1d66d1f6c8a
child 11354 a0163b8302c5
equal deleted inserted replaced
11351:2fc587b50116 11352:d98070707214
   266     NSInteger height = 40;
   266     NSInteger height = 40;
   267     UIView *footer = [[UIView alloc] initWithFrame:CGRectMake(0, 0, aTableView.frame.size.width, height)];
   267     UIView *footer = [[UIView alloc] initWithFrame:CGRectMake(0, 0, aTableView.frame.size.width, height)];
   268     footer.backgroundColor = [UIColor clearColor];
   268     footer.backgroundColor = [UIColor clearColor];
   269     footer.autoresizingMask = UIViewAutoresizingFlexibleWidth;
   269     footer.autoresizingMask = UIViewAutoresizingFlexibleWidth;
   270 
   270 
   271     UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, aTableView.frame.size.width*80/100, height)];
   271     UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, aTableView.frame.size.width*90/100, height)];
   272     label.center = CGPointMake(aTableView.frame.size.width/2, height/2);
   272     label.center = CGPointMake(aTableView.frame.size.width/2, height/2);
   273     label.textAlignment = UITextAlignmentCenter;
   273     label.textAlignment = UITextAlignmentCenter;
   274     label.font = [UIFont italicSystemFontOfSize:12];
   274     label.font = [UIFont italicSystemFontOfSize:12];
   275     label.textColor = [UIColor whiteColor];
   275     label.textColor = [UIColor whiteColor];
   276     label.numberOfLines = 2;
   276     label.numberOfLines = 2;