#define KsubViewWidth 310
#define FONT_SIZE 11.0f
#define CELL_CONTENT_WIDTH 310.0f
#define CELL_CONTENT_MARGIN 10.0f
#define TFONT_SIZE 13.0f
+(float)contentLabelFrame:(NSString*)content font:(float)font{
CGSize constraint = CGSizeMake(CELL_CONTENT_WIDTH - (CELL_CONTENT_MARGIN * 2), 20000.0f);
NSDictionary * attributes = [NSDictionary dictionaryWithObject:[UIFont systemFontOfSize:font] forKey:NSFontAttributeName];
NSAttributedString *attributedText =
[[NSAttributedString alloc]
initWithString:content
attributes:attributes];
CGRect rect = [attributedText boundingRectWithSize:constraint
options:NSStringDrawingUsesLineFragmentOrigin
context:nil];
CGSize size = rect.size;
CGFloat height = MAX(size.height, 25.0f);
return height;
// return height + (CELL_CONTENT_MARGIN * 2);
}