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 04:22 Go to next message
David CHAUTARD is currently offline David CHAUTARD
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 08:35 Go to previous message
David CHAUTARD is currently offline David CHAUTARD
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: Wed Jul 23 03:59:15 EDT 2014

Powered by FUDForum. Page generated in 0.07844 seconds