PDA

View Full Version : How to get a child's content to resize its parent container



JustinW
22 Sep 2011, 1:39 AM
Hi,

Were trying to find a way of allowing the content of a child component to influence the size of the parent container.

For instance, wed like a tree panel within a table layout to expand the height of its cell when the nodes are expanded. The desired result is that the table height will increase and result in a scrollbar for table. Current result is that the scrollbar is added to the tree.

Ideally we want a technique that we can apply across all layouts.

Thanks in advance,

Justin

ChiefDanGeorge
3 Jan 2012, 6:34 AM
Did you come up with a solution for this. I am looking to do something similar.


Thanks!

Dan