multiline feature or wrap text feature in jface tableviewer

╄→гoц情女王★ 提交于 2019-12-04 04:27:26

问题


i have a jface tableviewer table where in the data in the columns just come in one single line even if it is the long text. I would want a wrap text feature or a multiple line feature for table, if text exceeding a certain limit. Could anybody help me with this.


回答1:


See this SWT snippet draw multiple lines of text in a table item and this JFace SnippetSnippet006TableMultiLineCells



来源:https://stackoverflow.com/questions/8355693/multiline-feature-or-wrap-text-feature-in-jface-tableviewer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!