nested panels are not displayed
Hi, I am trying to create a container or panel with some toolbars and six content areas. The toolbars are displaying fine, but the panels are not. What am I missing?
Code:
Ext.application({
name: 'test app',
launch: function () {
Ext.create('Ext.Container', {
fullscreen: true,
layout: 'vbox',
items: [
{
xtype: 'toolbar',
dock: 'top'
},
{
xtype: 'panel',
//fullscreen: 'true',
layout: 'fit',
item: [
{
xtype: 'panel',
flex: 1,
items: [
{
xtype: 'panel',
dock: 'left',
items: [{
html: "blah blah blah"
}]
},
{
xtype: 'panel',
items: [{
html: "blah blah blah"
}]
}
]
},
{
xtype: 'panel',
flex: 1,
items: [
{
xtype: 'panel',
dock: 'left',
items: [{
html: "blah blah blah"
}]
},
{
xtype: 'panel',
items: [{
html: "blah blah blah"
}]
}
]
},
{
xtype: 'panel',
flex: 1,
items: [
{
xtype: 'panel',
dock: 'left',
items: [{
html: "blah blah blah"
}]
},
{
xtype: 'panel',
items: [{
html: "blah blah blah"
}]
}
]
}
]
},
{
xtype: 'toolbar',
dock: 'bottom'
}
]
});
}
}
});