equal
deleted
inserted
replaced
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 |