Open wentaozone opened 10 years ago
example: SETextView frame is {300,91}, params cell.seTextView.text = article.content; cell.seTextView.lineBreakMode = NSLineBreakByTruncatingTail; // cell.seTextView.lineSpacing = 5; cell.seTextView.font = [UIFont systemFontOfSize:15]; cell.seTextView.textColor = [UIColor colorWithRed:100/255.f green:100/255.f blue:100/255.f alpha:1.0f]; // cell.seTextView.paragraphSpacing = 15;
text: Just over 5 lines in English or Chinese characters, layout error occurs.
example: SETextView frame is {300,91}, params cell.seTextView.text = article.content; cell.seTextView.lineBreakMode = NSLineBreakByTruncatingTail; // cell.seTextView.lineSpacing = 5; cell.seTextView.font = [UIFont systemFontOfSize:15]; cell.seTextView.textColor = [UIColor colorWithRed:100/255.f green:100/255.f blue:100/255.f alpha:1.0f]; // cell.seTextView.paragraphSpacing = 15;
text: Just over 5 lines in English or Chinese characters, layout error occurs.