tabbar auto resize problem

I have dhtmlxlayout where the left part contains links and when the user clicks on a link a page is loaded.

Most of the pages contain tabbar and the problem is that when i resize the layout or press F11 and change the size of the layout division which contains the page having a tabbar the tabbar does not adjusts itself to fit the new page size and it looks kind of ugly.

how can i fix this?

10x in advance

If sizes of tabbar container are set in percent (it means that container is adjuested with the page), you may use enableAutoReSize() method to resize tabbar with its container (it sets onresize event handler for window):

tabbar.enableAutoReSize();

works fine.

problem solved!