when I place an image (16x16) in row the row becomes higher (better to read)
is there any other way to get higher rows without placing icons ?
there is no such method setRowHeight(int)... (there is only getRowHeight())
Not right now. Windows controls use the hieght of the first image assigned
to the table to control the row height of the table.
"Artur" <artekzx@o2.pl> wrote in message
news:d6v0oo$9ls$1@news.eclipse.org...
> hello
>
> how to change table row height ?
>
> when I place an image (16x16) in row the row becomes higher (better to
read)
> is there any other way to get higher rows without placing icons ?
> there is no such method setRowHeight(int)... (there is only
getRowHeight())
>
> is it possible to change the row height ?
>
> im using eclipse 3.02
>
> thanks
> Artur
>
>
This seems to work for me (I found this someplace the other day from Google):
table.addListener(SWT.MeasureItem, new Listener() {
public void handleEvent(Event event) {
// height cannot be per row so simply set
event.height = 28;
}
});
That being said, I'm using Steve's rule of letting the first image determine the row size. Just wanted to put this out here as an alternative.