project_files/HedgewarsMobile/Classes/SingleSchemeViewController.m
changeset 5181 102fef5ca5fc
parent 4976 088d40d8aba2
child 5185 7607a64e1853
equal deleted inserted replaced
5180:a881cd3d3163 5181:102fef5ca5fc
   191             cell.imageView.image = img;
   191             cell.imageView.image = img;
   192             [img release];
   192             [img release];
   193 
   193 
   194             UILabel *cellLabel = (UILabel *)[cell.contentView viewWithTag:LABEL_TAG];
   194             UILabel *cellLabel = (UILabel *)[cell.contentView viewWithTag:LABEL_TAG];
   195             cellLabel.text = [[self.basicSettingList objectAtIndex:row] objectForKey:@"title"];
   195             cellLabel.text = [[self.basicSettingList objectAtIndex:row] objectForKey:@"title"];
       
   196             cellLabel.adjustsFontSizeToFitWidth = YES;
   196 
   197 
   197             // can't use the viewWithTag method because row is dynamic
   198             // can't use the viewWithTag method because row is dynamic
   198             UISlider *cellSlider = nil;
   199             UISlider *cellSlider = nil;
   199             for (UIView *oneView in cell.contentView.subviews) {
   200             for (UIView *oneView in cell.contentView.subviews) {
   200                 if ([oneView isMemberOfClass:[UISlider class]]) {
   201                 if ([oneView isMemberOfClass:[UISlider class]]) {