multiline feature or wrap text feature in jface ta

2020-04-10 17: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