Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Tree with not necessary Scroll
Tree with not necessary Scroll [message #489842] Tue, 06 October 2009 08:22 Go to next message
David CHAUTARD is currently offline David CHAUTARDFriend
Messages: 102
Registered: July 2009
Senior Member
Hello,
I have a Tree with SWT.MULTI style which display XML data. When I have one element in the tree I don't have scroll until the label is too long. But when I add a brother to my element and I close my file. When I open my file, the tree content a Scroll which is not necessary.

Why the scroll appears in my tree?
Thx

David.
Re: Tree with not necessary Scroll [message #489887 is a reply to message #489842] Tue, 06 October 2009 12:35 Go to previous message
David CHAUTARD is currently offline David CHAUTARDFriend
Messages: 102
Registered: July 2009
Senior Member
Hello,
I finally solve my problem. Indeed, my problem was that I create the LabelProvider of my tree, after the setInput. Now I create my LabelProvider and my ContentProvider before the setInput.

David.
Previous Topic:[Databinding] Binding checkbox to boolean property
Next Topic:[Databinding] MultiValidator in RAP Application
Goto Forum:
  


Current Time: Fri Nov 21 18:03:11 GMT 2014

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

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