[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: How to set the row height in a Table?

As far as I know, even custom drawn tables don't support multiple rows having different heights (at least on Windows). You'd have to custom draw the entire control (e.g. extend Canvas)... I'd be interested if setting the height for every row is possible with standard table...

Viliam

jeffty wrote / napísal(a):
Thank you!
Tom Schindl wrote:
Not supported you need to switch to a custom drawn table/tree.

Tom

jeffty schrieb:
Hi,
    I try but fail to find the API to set the row height of a Table.
    The only way I know is:
    table.addListener(SWT.MeasureItem, new Listener() {
        public void handleEvent(Event event) {
            event.height =rowHeight;
        }
    });

And which set the height of all the rows. How to set the height for every row?
Thanks in advance!