I have a Table View set up for the iPad. In the MainWindow-iPad.xib I have a navigation controller, with the Table View Class as the Root View Controller. On the .xib I have a Navigation Bar, View Controller with class of Table View and NIB of Table View. I then have a navigation item, with two buttons. One button reads Archive and is on the left hand side. The other button contains a UIProgressView. I also have placed a label on the navigation bar for when downloads are present it will show name of download, and progressview will be unhidden and show progress of download. However, on the iPad, the word Archive appears as Ar...ve. I have a feeling it is due to either the label or the Progress Bar being too wide, and not giving any room to the BarButtonItem for Archive, but I can't figure out why. ProgressView is added in xib, Label is added in viewDidLoad code:
I have tried making frame (600, -14, 70, 44) but the button still shortens the button title. Any ideas?
Code:
progress.hidden = YES;
CGRect frame = CGRectMake(600, -14, 170, 44);
downloadlabel = [[UILabel alloc]initWithFrame:frame];
downloadlabel.textAlignment = UITextAlignmentCenter;
downloadlabel.textColor = [UIColor blackColor];
downloadlabel.backgroundColor = [UIColor clearColor];
downloadlabel.font = [UIFont fontWithName:@"Arial Rounded MT Bold" size:(18.0)];