Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / app / feed-viewer / app / view / feed / Show.js
diff --git a/examples/app/feed-viewer/app/view/feed/Show.js b/examples/app/feed-viewer/app/view/feed/Show.js
new file mode 100644 (file)
index 0000000..4861e9a
--- /dev/null
@@ -0,0 +1,30 @@
+Ext.define('FV.view.feed.Show', {
+       extend: 'Ext.panel.Panel',
+       alias: 'widget.feedshow',
+
+    requires: [
+        'FV.view.article.Grid',
+        'FV.view.article.Preview'
+    ],
+
+       closable: false,
+       layout: {
+               type: 'vbox',
+               align: 'stretch'
+       },
+
+       initComponent: function() {
+               Ext.apply(this, {
+                       items: [{
+                               xtype: 'articlegrid',
+                               flex: 1
+                       },{
+                               xtype: 'articlepreview',
+                               cls: 'articlepreview',
+                               height: 300
+                       }]
+               });
+
+               this.callParent(arguments);
+       }
+});