Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the UIToolbar font to match UINavigation Controller?

Using the following post, I was able to add a UILabel to a UIToolbar, however, it looks crappy. Anyone know how to get the text size / color / shadow to match the title for a UINavigationController?

Navigation Controller

alt text http://www.codingwithoutcomments.com/uploads/Picture1.png

UIToolbar with UILabel

alt text http://www.codingwithoutcomments.com/uploads/Picture2.png

What steps do I need to take to make them match?

like image 957
CodingWithoutComments Avatar asked Dec 30 '22 01:12

CodingWithoutComments


1 Answers

You might also want to add a shadow?

itemLabel.shadowColor = [UIColor colorWithRed:0 green:0 blue:0 alpha:0.5];
itemLabel.shadowOffset = CGSizeMake(0, -1.0);
like image 140
Alex Reynolds Avatar answered Feb 17 '23 09:02

Alex Reynolds