PDA

View Full Version : Question about setMonitorWindowResize() on LayOutContainer



mark1943
19 Jan 2009, 6:55 AM
now I have a LayoutContainer A which with 2 components B and C are also both LayoutContainers which are from out side classes, if I want them to fix size automatically to fit the browser window size. Do I have to setMonitorWindowResize() on all of A,B and C, or just on the main container A.

kolli
20 Jan 2009, 7:33 AM
i think if you set the children window size based on the parent window size like setting them as setSize("60%", "70%") i think setting setMonitorWindowResize() on the parent would be sufficient.