Skip to content

Commit

Permalink
Bookmark list cell refined.
Browse files Browse the repository at this point in the history
  • Loading branch information
kishikawakatsumi committed Aug 29, 2009
1 parent 77ca9db commit f53906d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/PageInformationCell.m
Expand Up @@ -45,14 +45,14 @@ - (void)drawRect:(CGRect)rect {
if ([commentText length] > 0) {
[[UIColor blackColor] set];
[commentText drawInRect:CGRectMake(20.0f, 1.0f, 280.0f, 74.0f) withFont:[UIFont systemFontOfSize:12.0f] lineBreakMode:UILineBreakModeTailTruncation];
[numberText drawInRect:CGRectMake(0.0f, 35.0f, 16.0f, 21.0f) withFont:[UIFont systemFontOfSize:9.0f] lineBreakMode:UILineBreakModeClip alignment:UITextAlignmentRight];
[numberText drawInRect:CGRectMake(0.0f, 38.0f, 16.0f, 21.0f) withFont:[UIFont systemFontOfSize:9.0f] lineBreakMode:UILineBreakModeClip alignment:UITextAlignmentRight];
[[UIColor grayColor] set];
[userText drawInRect:CGRectMake(20.0f, 69.0f, 280.0f, 20.0f) withFont:[UIFont systemFontOfSize:12.0f] lineBreakMode:UILineBreakModeTailTruncation alignment:UITextAlignmentRight];
} else {
[[UIColor blackColor] set];
[numberText drawInRect:CGRectMake(0.0, 1.0, 16.0, 18.0) withFont:[UIFont systemFontOfSize:9.0f] lineBreakMode:UILineBreakModeClip alignment:UITextAlignmentRight];
[numberText drawInRect:CGRectMake(0.0f, 4.0f, 16.0f, 18.0f) withFont:[UIFont systemFontOfSize:9.0f] lineBreakMode:UILineBreakModeClip alignment:UITextAlignmentRight];
[[UIColor grayColor] set];
[userText drawInRect:CGRectMake(20.0, 1.0, 280.0f, 18.0f) withFont:[UIFont systemFontOfSize:12.0f] lineBreakMode:UILineBreakModeTailTruncation alignment:UITextAlignmentRight];
[userText drawInRect:CGRectMake(20.0f, 1.0f, 280.0f, 18.0f) withFont:[UIFont systemFontOfSize:12.0f] lineBreakMode:UILineBreakModeTailTruncation alignment:UITextAlignmentRight];
}
}

Expand Down

0 comments on commit f53906d

Please sign in to comment.