JFace/SWT multiline TableViewer rows
Asked Answered
D

1

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?

Dowzall answered 13/11, 2011 at 21:25 Comment(0)
P
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.

Posterior answered 14/11, 2011 at 8:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.