jline tableviewer中的多行功能或换行文本功能 [英] multiline feature or wrap text feature in jface tableviewer

查看:147
本文介绍了jline tableviewer中的多行功能或换行文本功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个jface tableviewer表,即使是长文本,列中的数据也只能进入一行。我想要一个换行文本功能或多行功能表,如果文本超过一定限制。任何人都可以帮助我。

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.

推荐答案

查看此SWT片段绘制多行文本在表项中,此JFace SnippetSnippet006TableMultiLineCells

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

这篇关于jline tableviewer中的多行功能或换行文本功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆