View Full Version : Ext.tab.Panel not rendering as expected

30 Sep 2011, 2:22 PM
I'm trying to create a tab panel, but it isn't rendering correctly. The tab titles are rendered as small, vertically stacked buttons. Only the content for the first button is displayed and it overlaps the buttons. Do you see anything wrong with this? labels is an array of strings.

Ext.create('Ext.tab.Panel', {
bodyPadding: 10,
renderTo: containerId,
width: 600,
height: 100,
items: labels.map(function (label) {
return {
title: label,
html: 'content for ' + label