jeudi 3 juillet 2014

Panel with border layout inside a tab panel

i have a problem using a panel with border layout inside a panel.

says its not supported and must set the height.

i tried to set height in every panel without luck.

Code:



Ext.create('Ext.tab.Panel', {
items: [
{
xtype : 'panel',
items : [
{
xtype: 'panel',
layout : 'border' // error
}
]
}
],
renderTo: Ext.getBody()
});

heres the fiddle (run and check the msg in the console)

http://ift.tt/1s35832

h


ow can i use a panel with layout border thats inside a panel tab -> panel -> my error panel.


Aucun commentaire:

Enregistrer un commentaire