PDA

View Full Version : TabPanel Question.



helloharry
22 Oct 2010, 2:33 PM
Hello, how do I go about setting my tab panel so it only scrolls on one line?

(If I have more than x tabs, it spans more lines. 22986)


I currently have:

{
xtype : 'tabpanel',
activeTab : 0,
id : 'chatChannels',
enableTabScroll : true, //Isn't this ment to make the tabs only span on one row?
resizeTabs : true,
minTabWidth : 150,
defaults : {autoScroll:true},
plugins : [ new Ext.ux.TabScrollerMenu({maxText: 15, pageSize: 5}) ],
items : [
{
title : 'Channel List.',
closable: false
}
]
}

helloharry
23 Oct 2010, 7:11 AM
I'm guessing, nobody is willing/able to help?!?

Condor
25 Oct 2010, 1:14 AM
TabPanel only supports a limited number of tabs. You can increase the limit by modifying the following css rule, but there is no way to remove the limit.


ul.x-tab-strip {width:5000px;}