Login Register

Dynamically size TabContainer?

Hi,
I have a JSP which generates a HTML table inside ContentPane which is a child of a TabContainer.

Right now, seems I must hard-code the height of the TabContainer:

<div id="mainTabContainer" dojoType="dijit.layout.TabContainer" style="width: 100%;height: 43em;">
<div dojoType="dijit.layout.ContentPane" title="Matrix" style="width: 100%">
<-- here generated table -->

I would like the TabContainer to size automatically to the height size of the table? This possible?

Thanks,chris