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