Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Scott Weaver on Mar 05, 2008 11:57
open dhtmlx forum
Vertical Scroll Bars When Using enableAutoResize

I started using enableAutoResize(false,true); in order to fix the length problem on IE (the size of each panel would be as long as all of them stacked). Well, now the length issue is gone but there's a scroll bar on each tab that won't go away.

I tried enableScroll(false); but I believe that's for the horizontal scroll bars.

I would like the tab pane to be scroll-bar-less and just expand to the height of the largest tab in the group.

Hopefully that makes sense. Let me know if it doesn't.
Answer posted by Support on Mar 06, 2008 02:13
>>I tried enableScroll(false); but I believe that's for the horizontal scroll bars.
This command enable disable scrolling for tab labels, not for tab content zone

>>I would like the tab pane to be scroll-bar-less and just expand to the height of the largest tab in the group.
tabbar has two auto size modes ( which are mutual excluzive )

enableAutoReSize - resize tabbar container to the size of its parent container ( tabbar will react on changing size of window )
enableAutoSize- resize tabbar container by size of content ( prevent scrollbars )


Basically scrollbars can be disabled in any case by changing
dhtmlxtabbar.css
.dhx_tabcontent_sub_zone{
    width:100%;
    height:100%;
    overflow:auto; // << need to be changed to overflow:hidden;
    padding: 0px 0px 0px 0px !important
}