project_files/HedgewarsMobile/Classes/AboutViewController.m
changeset 11549 893722a2a1f9
parent 11308 92b023095153
child 12872 00215a7ec5f5
equal deleted inserted replaced
11548:45982bda46cc 11549:893722a2a1f9
   126     UIView *footer = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 50)];
   126     UIView *footer = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 50)];
   127     footer.backgroundColor = [UIColor clearColor];
   127     footer.backgroundColor = [UIColor clearColor];
   128 
   128 
   129     UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width*80/100, 90)];
   129     UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width*80/100, 90)];
   130     label.center = CGPointMake(self.tableView.frame.size.width/2, 45);
   130     label.center = CGPointMake(self.tableView.frame.size.width/2, 45);
   131     label.textAlignment = UITextAlignmentCenter;
   131     label.textAlignment = NSTextAlignmentCenter;
   132     label.font = [UIFont systemFontOfSize:16];
   132     label.font = [UIFont systemFontOfSize:16];
   133     label.textColor = [UIColor lightGrayColor];
   133     label.textColor = [UIColor lightGrayColor];
   134     label.numberOfLines = 5;
   134     label.numberOfLines = 5;
   135     label.text = footerString;
   135     label.text = footerString;
   136     [footerString release];
   136     [footerString release];