project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m
changeset 11554 893722a2a1f9
parent 11350 1f517a461c33
child 12877 00215a7ec5f5
equal deleted inserted replaced
11553:45982bda46cc 11554:893722a2a1f9
   224     NSString *missionID = [self.listOfMissionIDs objectAtIndex:row];
   224     NSString *missionID = [self.listOfMissionIDs objectAtIndex:row];
   225     cell.textLabel.text = self.dictOfMissions[missionID][@"name"];
   225     cell.textLabel.text = self.dictOfMissions[missionID][@"name"];
   226     
   226     
   227     cell.textLabel.textColor = [UIColor lightYellowColor];
   227     cell.textLabel.textColor = [UIColor lightYellowColor];
   228     //cell.textLabel.font = [UIFont fontWithName:@"Bradley Hand Bold" size:[UIFont labelFontSize]];
   228     //cell.textLabel.font = [UIFont fontWithName:@"Bradley Hand Bold" size:[UIFont labelFontSize]];
   229     cell.textLabel.textAlignment = (IS_IPAD()) ? UITextAlignmentCenter : UITextAlignmentLeft;
   229     cell.textLabel.textAlignment = (IS_IPAD()) ? NSTextAlignmentCenter : NSTextAlignmentLeft;
   230     cell.textLabel.backgroundColor = [UIColor clearColor];
   230     cell.textLabel.backgroundColor = [UIColor clearColor];
   231     cell.textLabel.adjustsFontSizeToFitWidth = YES;
   231     cell.textLabel.adjustsFontSizeToFitWidth = YES;
   232     cell.detailTextLabel.text = (IS_IPAD()) ? nil : self.dictOfMissions[missionID][@"desc"];
   232     cell.detailTextLabel.text = (IS_IPAD()) ? nil : self.dictOfMissions[missionID][@"desc"];
   233     cell.detailTextLabel.textColor = [UIColor whiteColor];
   233     cell.detailTextLabel.textColor = [UIColor whiteColor];
   234     cell.detailTextLabel.backgroundColor = [UIColor clearColor];
   234     cell.detailTextLabel.backgroundColor = [UIColor clearColor];