Developer Area

Changeset 844

Show
Ignore:
Timestamp:
04/04/11 09:42:38 (3 years ago)
Author:
henri
Message:

Changed keyword cell height calculation to better handle huge keywords

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • apps/iphone/my.tel/trunk/Classes/KeywordViewController.m

    r843 r844  
    183183- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { 
    184184        CGFloat rowSize = 30;   // title + borders 
    185         CGSize constrainedSize = CGSizeMake([UIScreen mainScreen].bounds.size.width - 60, 400); 
     185        CGSize constrainedSize = CGSizeMake(tableView.bounds.size.width - 80, 1000); 
    186186        NSDictionary *uiItem = [[uiArray objectAtIndex:indexPath.row] retain]; 
    187187        NSString *primaryValue = [uiItem objectForKey:@"value"]; 
Telnic
Search This Site
Partners
Neustar
ICANN
Main site | WHOIS | Sell .tel | FAQ | Archived Site | About Telnic | Contact Us