I am trying to display multiple lines in a TreeItem. Each item has a variable
number of lines to display - from 1 to 10 (say). I want each row to be the
minimum height necessary to display its text.
I have implemented a paintListener using snippet227 as a guide, but this seems
to make every row the same size - large enough to hold the maximum number of
lines (10).
Any ideas as to how to achieve what I am looking for?