View Full Version : Component layout not working on load, but it does when the user moves a separator.

15 Oct 2009, 2:22 AM
Hi Folks,

I have a top level container which consists of 3 sub-containers. The components (a combo box and 2 multi select boxes, for example) in one of the containers appear to overlap.

This only seems to happen the first time the component is rendered on the page. Once the user has moved the separator, or shrunk the browser window, this problem does not appear. So when the user moves the separator, the components lay themselves out again and everything looks good, however I'd like to force this to happen the first time the top-level component is shown.

Any thoughts on how I can achieve this? I've tried calling doLayout in a few places and it doesn't seem to have any effect.

Thanks for your help,