View Full Version : TabPanel with many tabs causes tabs to wrap to second line

17 Nov 2010, 7:50 PM
I searched but couldn't find any other discussion about this. There seems to be some kind of limit to the number of tabs that a TabPanel can support before they start wrapping to a second line.

This can be easily reproduce using the Advanced Tabs sample (http://dev.sencha.com/deploy/dev/examples/tabs/tabs-adv.html) and clicking the "Add Tab" button until you've added "New Tab 43". I was able to reproduce this on IE 8, FF and Chrome...each time it was the 43rd tab that wrapped to the next line.

Is there some limit causing this or is it just a bug in ExtJS? I'm not sure what I should do because as the number of tabs continues to grow in my application, I can no longer scroll over them all and some don't even render correctly. Either way, is there any way to keep them from wrapping to a new line?

17 Nov 2010, 7:55 PM
Found bug report (http://www.sencha.com/forum/showthread.php?112867-OPEN-1342-TabPanel-Scroll-breaks-with-quot-many-quot-tabs-gt-43-tabs) which reports this exact issue and gives a possible workaround.