JFace adapt TableViewerColumn

368 Views Asked by At

I would like to compute the width for each TableViewerColumn so that it fits the content best. Is there any "best practice" way of doing this?

1

There are 1 best solutions below

0
On BEST ANSWER

I think you're after ...

TableViewerColumn col = ...;
col.getColumn().pack();