project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m
branchios-revival
changeset 11222 08f20ffa5801
parent 11210 2e80c9861818
child 11224 32366eb83383
equal deleted inserted replaced
11221:e68b3e392091 11222:08f20ffa5801
   146     cell.detailTextLabel.backgroundColor = [UIColor clearColor];
   146     cell.detailTextLabel.backgroundColor = [UIColor clearColor];
   147     cell.detailTextLabel.adjustsFontSizeToFitWidth = YES;
   147     cell.detailTextLabel.adjustsFontSizeToFitWidth = YES;
   148     cell.detailTextLabel.numberOfLines = ([cell.detailTextLabel.text length] % 40);
   148     cell.detailTextLabel.numberOfLines = ([cell.detailTextLabel.text length] % 40);
   149     cell.detailTextLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
   149     cell.detailTextLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters;
   150 
   150 
       
   151     UIView *bgColorView = [[UIView alloc] init];
       
   152     bgColorView.backgroundColor = [UIColor colorWithRed:(85.0/255.0) green:(15.0/255.0) blue:(106.0/255.0) alpha:1.0];
       
   153     bgColorView.layer.masksToBounds = YES;
       
   154     cell.selectedBackgroundView = bgColorView;
       
   155     [bgColorView release];
       
   156     
   151     cell.backgroundColor = [UIColor blackColorTransparent];
   157     cell.backgroundColor = [UIColor blackColorTransparent];
   152     return cell;
   158     return cell;
   153 }
   159 }
   154 
   160 
   155 #pragma mark -
   161 #pragma mark -