Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by brian on Mar 18, 2008 12:47
open dhtmlx forum
set tab size

how do you set the default width of a tab?
Answer posted by Support on Mar 19, 2008 02:09
By default the width of the tabs is the width of tabbar container.

You can change tabbar width using setSize(width,height,contentZone) method. For example:

      tabbar.setSize(200,200);

Tabbar professional version allows to set  automatic tabs width:

    tabbar.enableAutoSize(true,false);

For more details, please, see documentation:
    
    http://www.dhtmlx.com/docs/products/dhtmlxTabbar/doc/alpha.html