Skip to content

Commit

Permalink
Prevent truncation of long PSGroupSpecifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
nschum committed Jan 2, 2011
1 parent bc6877f commit bdd4846
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -339,7 +339,7 @@ - (CGFloat)tableView:(UITableView*)tableView heightForHeaderInSection:(NSInteger
NSString *title;
if ((title = [self tableView:tableView titleForHeaderInSection:section])) {
CGSize size = [title sizeWithFont:[UIFont boldSystemFontOfSize:[UIFont labelFontSize]]
constrainedToSize:CGSizeMake(tableView.frame.size.width - 2*kIASKHorizontalPaddingGroupTitles, tableView.frame.size.height)
constrainedToSize:CGSizeMake(tableView.frame.size.width - 2*kIASKHorizontalPaddingGroupTitles, INFINITY)
lineBreakMode:UILineBreakModeWordWrap];
return size.height+kIASKVerticalPaddingGroupTitles;
}
Expand Down

0 comments on commit bdd4846

Please sign in to comment.