Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / app / feed-viewer / app / view / feed / Show.js
1 Ext.define('FV.view.feed.Show', {
2         extend: 'Ext.panel.Panel',
3         alias: 'widget.feedshow',
4
5     requires: [
6         'FV.view.article.Grid',
7         'FV.view.article.Preview'
8     ],
9
10         closable: false,
11         layout: {
12                 type: 'vbox',
13                 align: 'stretch'
14         },
15
16         initComponent: function() {
17                 Ext.apply(this, {
18                         items: [{
19                                 xtype: 'articlegrid',
20                                 flex: 1
21                         },{
22                                 xtype: 'articlepreview',
23                                 cls: 'articlepreview',
24                                 height: 300
25                         }]
26                 });
27
28                 this.callParent(arguments);
29         }
30 });