How do you determine the width of a TableColumn heading?
I have an SWT table with several columns. I can set each column's heading text by using
However, how do you determine how wide the rendered heading text will be so that you can appropriately set the column width? In this particular column, the width of the contents will be smaller than the width of the heading text, so I'd like to make the column wide enough to completely show the heading text.
Thanks in advance!