project_files/HedgewarsMobile/Classes/ExtraCategories.m
changeset 11549 893722a2a1f9
parent 11145 1c89970c7f15
child 12872 00215a7ec5f5
equal deleted inserted replaced
11548:45982bda46cc 11549:893722a2a1f9
   159     theLabel.backgroundColor = backColor;
   159     theLabel.backgroundColor = backColor;
   160 
   160 
   161     if (title != nil) {
   161     if (title != nil) {
   162         theLabel.text = title;
   162         theLabel.text = title;
   163         theLabel.textColor = [UIColor lightYellowColor];
   163         theLabel.textColor = [UIColor lightYellowColor];
   164         theLabel.textAlignment = UITextAlignmentCenter;
   164         theLabel.textAlignment = NSTextAlignmentCenter;
   165         theLabel.font = [UIFont boldSystemFontOfSize:[UIFont labelFontSize]*80/100];
   165         theLabel.font = [UIFont boldSystemFontOfSize:[UIFont labelFontSize]*80/100];
   166     }
   166     }
   167 
   167 
   168     [theLabel.layer setBorderWidth:borderWidth];
   168     [theLabel.layer setBorderWidth:borderWidth];
   169     [theLabel.layer setBorderColor:borderColor.CGColor];
   169     [theLabel.layer setBorderColor:borderColor.CGColor];