- layout: 'fit', // specify layout manager for items
- items: // this TabPanel is wrapped by another Panel so the title will be applied
- new Ext.TabPanel({
- border: false, // already wrapped so don't add another border
- activeTab: 1, // second tab initially active
- tabPosition: 'bottom',
- items: [{
- html: '<p>A TabPanel component can be a region.</p>',
- title: 'A Tab',
- autoScroll: true
- }, new Ext.grid.PropertyGrid({
+ activeTab: 1,
+ tabPosition: 'bottom',
+ items: [{
+ html: '<p>A TabPanel component can be a region.</p>',
+ title: 'A Tab',
+ autoScroll: true
+ }, Ext.create('Ext.grid.PropertyGrid', {