Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] How can I chang the height of the TableTreeItem in a TableTree ?

You can not set an Image into the first column of the TableTree - that 
image is reserved for the +/-.  Consequently, item.setImage(image) will 
not work but item.setImage(1, image) should.

However there is a bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=4631




bbskill <bbkills@xxxxxxx> 
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
11/27/2004 01:15 PM
Please respond to
platform-swt-dev


To
platform-swt-dev@xxxxxxxxxxx
cc

Subject
[platform-swt-dev] How can I chang the height of the TableTreeItem in a 
TableTree ?






I have googled and found a way that using this code :

int height = 10;
TableTreeItem item = new TableTreeItem(tableTree,SWT.NONE);
Image image = new Image(null, 1, height);
item.setImage(image);

but it didn't work !
could anyone help me ?
Thanks for any help !
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev




Back to the top