PDA

View Full Version : Tree column width content dependent ?



koblass
5 Dec 2011, 9:14 AM
Hi,

I've a tree panel with only one column.
I would like to have the column width that matches the content width in order to have the horizontal scrollbar displayed automatically when the content width is larger that the tree width.

I've found in the doc, but didn't see anything...
How can I do this ?

Best regards
Daniel

mitchellsimoens
5 Dec 2011, 12:53 PM
So why not have the tree panel (not the tree grid since you only have one column) fit to the parent? The nodes within should scroll either direction. Remember, the scrolling issues have mostly been resolved in 4.1

koblass
5 Dec 2011, 11:37 PM
Hi Mitchell,

In fact that's exactly what I have.
I've a tree panel in a border layout, so the tree fits.
The problem is that the content of the nodes (the text displayed) is wider than the tree width, so "..." are added at the end.
I would like to have an horizontal scroll bar displayed instead.

How can I do this ?

Best regards
Daniel