title: How to make height of a dijit Accordionpane dynamic
body: <p>I can't figure out how to tell the accordioncontainer to set height of its accordion pane to auto so that the height of the pane is dynamic depending on its content. </p>
  
  <p>In the following code I am adding two panes to an accordioncontainer. One has height of 10px and another has 90px but in both cases the height of the accordion pane is calculated to 10px. Looks like its always taking the height of the first one. </p>
  
  <pre><code>var accordionContainer = new dijit.layout.AccordionContainer({'id':'accContainer'}).placeAt("test");
  var accordPane = new dijit.layout.ContentPane({"title": "test", "content":"&lt;div style='height:10px'&gt;sdfsdfsdf&lt;/div&amp;gt;"});
  var accordPane2 = new dijit.layout.ContentPane({"title": "test1", "content":"&lt;div style='height:90px'&gt;sdfsdfsdf&lt;/div&gt;"});
  
  accordionContainer.addChild(accordPane);
  accordionContainer.addChild(accordPane2, 1);
  accordPane.startup();
  accordPane2.startup();
  accordionContainer.startup();
  accordionContainer.selectChild(accordPane2);
  </code></pre>
  
  <p>I am using dojo 1.3.2</p>