Why doesn't the children resize when I do the following? The main accordion container adapts but the accordion panes stay the exact same size.
This is the code after I set new content into a neighboring contentpane setting the heigh of the parent div.
var accordion = dijit.byId('my_accordion_div_id');
if(accordion){
accordion.layout();
}
Solved
Found it! Jus call accordion.resize() instead of layout.