Hi,
I'm trying to have a tree inside the western region of a border layout, such that the width and height of the tree are automatically adjusted for it to fill out the entire region.
I render the tree to an HTML element
<divid="treeDbs"/>
The layout region looks like:
{
region:'west',
title:'West',
split:true,
contentEl: "treeDbs"
}
What I get is that tree is always correctly resized on the horizontal, but never on the vertical. It grows and shrinks in height according to its contents, not to the region's height. I've tried it with both TreePanel.autoHeight set true and false.
Any suggestion would be greatly appreciated.
Thank you.
I'm having similar problems but I'm trying to put a tree into a tabpanel that is in the west region. I can't get it to fill the space either. I'll be interested to see how it should be done.