X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/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 index 00000000..4861e9ae --- /dev/null +++ b/examples/app/feed-viewer/app/view/feed/Show.js @@ -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); + } +});