Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How I can change the size of a treeviewer to show all content?
How I can change the size of a treeviewer to show all content? [message #451657] Fri, 04 March 2005 13:30
David is currently offline DavidFriend
Messages: 30
Registered: July 2009
Member
Hi!.

I've a treeviewer.
I need change the size to show all of its contents to save an image.

I've this code to change horizontal size:

TreeViewer arbolaux....
int i=0;

while(arbolaux.getTree().getHorizontalBar()!=null){
arbolaux.getTree().setSize(++i,10);
}

The problem is that I'can force the "redraw" of the tree inside "while" to
permit exit from the "while".

In swing this can do with a method.

can I do this in SWT?
Previous Topic:TableViewer behaviour with SWT.VIRTUAL in 3.1-M5a?
Next Topic:Bug in SWT, drawing on partially transparent image?
Goto Forum:
  


Current Time: Fri Apr 19 06:25:23 GMT 2024

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

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

Back to the top