`
frank1998819
  • 浏览: 731313 次
  • 性别: Icon_minigender_1
  • 来自: 南京
文章分类
社区版块
存档分类

文本域显示行数算法

    博客分类:
  • Java
 
阅读更多

每行显示字符数: showCount

总共字符数:totalCount

总共几行: totalRowCount

 

totalRowCount = ((totalCount + showCount - 1)/ showCount ) + 1

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics