Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » using 32 by 32 image in treeviewer
using 32 by 32 image in treeviewer [message #674477] Fri, 27 May 2011 05:29 Go to next message
tom  is currently offline tom Friend
Messages: 17
Registered: August 2010
Junior Member
Event though I put the image of 32 x 32 in LabelProvder , the Treeviewer make it small to 16 size .

But I want the image in each treeitem to be shown to 32 x 32 size..

How can I solve this out.

please give me advice.

Re: using 32 by 32 image in treeviewer [message #685403 is a reply to message #674477] Fri, 17 June 2011 13:03 Go to previous message
Artur Kronenberg is currently offline Artur KronenbergFriend
Messages: 159
Registered: August 2009
Senior Member
Hi,

I believe that viewers will standardize their images to 16x16. You can modify this by painting the item yourself. Here is how you could do this:

http://www.eclipse.org/articles/article.php?file=Article-CustomDrawingTableAndTreeItems/index.html

Kind regards
--artur
Previous Topic:Showing an Image while the section is being regenerated in the Background
Next Topic:Problem setup databinding with TableViewer
Goto Forum:
  


Current Time: Fri Dec 19 08:46:32 GMT 2014

Powered by FUDForum. Page generated in 0.09108 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software