问题
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