DHTMLX Docs & Samples Explorer

enableAutoSize(autoWidth,autoHeight)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtabbar.js

enables/disables auto adjusting height and width to inner content

  • autoWidth - enable/disable auto adjusting width
  • autoHeight - enable/disable auto adjusting height

 
The method isn't used if the tabbar content is loaded in iframes. In case of 'iframe' loading, the tabbar adjusts to the actually loaded content that has the same size all the time.

See also: enableAutoReSize, setSize