The doLayout Flag is the flag you need to allow the tab container to
resize with the contents of each of the tab panes
This is a Tab container with doLayout blank (default = true)
<xe:djTabContainer id="djTabContainer2" tabPosition="top"
style="
width:100%; height:100px
;
margin:5px;font-weight:bold; overflow-y: auto"
tabStrip="true" defaultTabContent="food">
and here is one with the doLayout = false
<xe:djTabContainer id="djTabContainer2" tabPosition="top"
style="
width:100%;
margin:5px;font-weight:bold; overflow-y: auto"
tabStrip="true" defaultTabContent="food"
doLayout="false"
>