6

Is it possible to get multiline (say 2-line) row in JFace tableViewer? I want my long text part spreaded between two lines, and my short lines aligner vertically in the cell. How can I achive that result?

execc
  • 1,083
  • 12
  • 25

1 Answers1

6

The table control itself does not support this. You will have to paint the content of those cells yourself. There's an official example (Snippet006TableMultiLineCells) on how to do that.

Frettman
  • 2,251
  • 1
  • 13
  • 9