Force resize of main screenbuffer

1
We have a theme with a left sidebar, filled by the formloader. This works fine, however in some case we would like to hide the sidebar simply because we need the space. We can do this by hide, or change width or remove it from the dom, that works. But the whole screen is not recalculated. The main screenbuffer takes full space only when the browser is resized, but not directly. How to force this? I thought that appendChild and removeChild would do that implicitly.
asked
2 answers
2

Take a look at the Footer Toggle app from the app store - this shows or hides the footer area of the screen. I have used an amended version of this to show or hide the sidebar navigation area, so you may be able to do something similar for your formloader area

Hope it helps

answered
1

Thanks David: this does the trick:

mx.screen.layout();
answered