YUI 0.12.1 Tree also wrongly aligned
I have used the YUI tree version 0.12.1. But even then, the tree is
not aligning properly when its container size is fixed.
<div id="treeContainer" style="width:200px;border:1px solid
the image is available at the following url
- Ashish,The change we made for 0.12.1 allows a TreeView instance to expand if its parent container is expandable, but TreeView currently does not have a mechanism for overriding the width of the actual TreeView container element (div#treeContainer, in your case).Based on your CSS rule, I believe that you can get the effect you want by wrapping div#treeContainer in a parent element and setting the width and overflow properties on the parent container instead of on div#treeContainer:<div id="treeContainerParent" style="width:200px;border:1px solid #00000;overflow:auto;><div id="treeContainer"><!--render tree here--></div></div>Regards,EricOn Dec 27, 2006, at 8:57 PM, kcak11 wrote: