project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m
changeset 6095 332d45c08592
parent 6078 8c0cc07731e5
child 6672 4f728ccdd06b
equal deleted inserted replaced
6094:16b12a6417d1 6095:332d45c08592
   232             
   232             
   233             UIImage *image = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/btn%@.png",ICONS_DIRECTORY(),
   233             UIImage *image = [[UIImage alloc] initWithContentsOfFile:[NSString stringWithFormat:@"%@/btn%@.png",ICONS_DIRECTORY(),
   234                                                                       [[self.gameModifierArray objectAtIndex:row] objectForKey:@"image"]]];
   234                                                                       [[self.gameModifierArray objectAtIndex:row] objectForKey:@"image"]]];
   235             cell.imageView.image = image;
   235             cell.imageView.image = image;
   236             [image release];
   236             [image release];
   237             [cell.imageView.layer setCornerRadius:7.0f];
   237             cell.imageView.layer.cornerRadius = 6.0f;
   238             [cell.imageView.layer setMasksToBounds:YES];
   238             cell.imageView.layer.masksToBounds = YES;
   239             cell.textLabel.text = [[self.gameModifierArray objectAtIndex:row] objectForKey:@"title"];
   239             cell.textLabel.text = [[self.gameModifierArray objectAtIndex:row] objectForKey:@"title"];
   240             cell.detailTextLabel.text = [[self.gameModifierArray objectAtIndex:row] objectForKey:@"description"];
   240             cell.detailTextLabel.text = [[self.gameModifierArray objectAtIndex:row] objectForKey:@"description"];
   241             cell.detailTextLabel.adjustsFontSizeToFitWidth = YES;
   241             cell.detailTextLabel.adjustsFontSizeToFitWidth = YES;
   242             cell.detailTextLabel.minimumFontSize = 6;
   242             cell.detailTextLabel.minimumFontSize = 6;
   243 
   243