[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Showing images of different sizes in a TreeViewer

Akshaya,

If I recall correctly, the first image that's rendered in the tree will be used as the size that's expected for all the items in the future. So I think you need to fake drawing a large item first. I don't think there's anything you can do about the fixed size issue...


Akshaya Iyengar wrote:
Hi,

I want to display images of different sizes in the same tree view. The top level images are standard folder images which are small in size. images of the children however, are some other non standard images which are bigger in size.
However the treeviewer resizes the bigger images to the size of the standard images. What is the way to work around this?


Thanks,
Akshaya