|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
update/resize LayoutContainerIf 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 |
|
|
RE: update/resize LayoutContainer[talking to myself]
I've found that layoutContainer.onResized() does the trick - makes layout resize itself to account for altered content. > 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 |
|
|
RE: update/resize LayoutContainerHi,
I've been browsing this forum because I have a similar problem as Bruce described. I got a question (a stupid one??) about Bruce' solution: What "layoutContainer.onResized()" is Bruce writing about? I can't find such an animal in the documentation (http://dojotoolkit.org/book/dojo-book-0-9/part-2-dijit/layout/layout-container). Am I looking at all the wrong places or has the onResized() function been removed in the meantime (Bruce' posting is quite old...)? If the function has indeed been removed, is there any other way to solve the resizing problem? Any advice appreciated, thanks in advance, Carsten
|
|
|
RE: update/resize LayoutContainerHi,
just posting this again as it didn't seem to get through the first time (because I wasn't registered member of the dojo-interest...). Cheers, Carsten
|
| Free embeddable forum powered by Nabble | Forum Help |