how to use AutoSize in tab, when i drae dhtmlx tabbar by htm

my dhtmlx tabbar draw by html tag same in you “Initialization from HTML” example. if i want to AutoSize Height ?

how i can config it.

You can use onbeforeinit attribute of container tag to define any additional modes
<div id=“atab” class=“dhtmlxTabBar” onbeforeinit=" atab.enableAutoSize(false,true); " …