« Return to Thread: update/resize LayoutContainer

update/resize LayoutContainer

by Bruce Webster-2 :: Rate this Message:

Reply to Author | View in Thread


If I update the content of one of my contentPanes, I need to get the whole layout to resize itself and shrink another Pane to make the new content visible.  I tried calling checkSize() on the LayoutContainer but that didn't help.  Resizing the window (maually or with JS) does fix the layout.  How can I call this resize event without changing the window size?

I've noticed that the originally-messed-up layout in Safari with RichText component(s) in contentPanes fixes itself on a window resize too - so that bug can probably be fixed with a timeout(checkSize,1) call in the initialization somewhere.
_______________________________________________
Dojo FAQ: http://dojo.jot.com/FAQ
Dojo Book: http://manual.dojotoolkit.org/DojoDotBook
Dojo-interest@...
http://dojotoolkit.org/mailman/listinfo/dojo-interest

 « Return to Thread: update/resize LayoutContainer