Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lalit on Mar 16, 2009 06:16
open dhtmlx forum
dhtmlx tabbar label name getting cut off

Hi ,

My label name on tab in too big and it gets cut.
What can be done ?

Thanks & Regards,
Lalit
Answer posted by Alex (support) on Mar 16, 2009 08:06

Hello,

You can define the necessary tab width:

- in the xml:

<tab id="..." width='100px' ..>...</tab>

- in the div tag (in case of automatic initialization)

<div id=".." width="100" ...

- using script:

 tabbar.addTab("a1","Tab 1","100px");

If you use * as tab width, the automatic width will be set.