PDA

View Full Version : Container.doLayout() question



garberfc
29 Apr 2014, 5:29 PM
I have lots of nested containers. One of the inner container now has more components in it and needs to be resized.

Do I call doLayout() on the inner most container with the added components and the message bubbles up? Or, do I call doLayout() on the outer most container and it calls doLayout() on it's children??

Is there any documentation which explains how this works?

All help is appreciated...
F

chicosb
1 May 2014, 5:39 AM
I am also interested in doing something similar.

mitchellsimoens
2 May 2014, 2:30 AM
You shouldn't need to execute doLayout. If the parent tree has layouts and no overnesting then the layout runs should bubble up.