/ext-4.0.7/examples/app/feed-viewer/app/view/feed/Show.js
JavaScript | 45 lines | 26 code | 5 blank | 14 comment | 0 complexity | 93972b4e50265d872f8b48ab4c64eac6 MD5 | raw file
1/*
2
3This file is part of Ext JS 4
4
5Copyright (c) 2011 Sencha Inc
6
7Contact: http://www.sencha.com/contact
8
9GNU General Public License Usage
10This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
11
12If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
13
14*/
15Ext.define('FV.view.feed.Show', {
16 extend: 'Ext.panel.Panel',
17 alias: 'widget.feedshow',
18
19 requires: [
20 'FV.view.article.Grid',
21 'FV.view.article.Preview'
22 ],
23
24 closable: false,
25 layout: {
26 type: 'vbox',
27 align: 'stretch'
28 },
29
30 initComponent: function() {
31 Ext.apply(this, {
32 items: [{
33 xtype: 'articlegrid',
34 flex: 1
35 },{
36 xtype: 'articlepreview',
37 cls: 'articlepreview',
38 height: 300
39 }]
40 });
41
42 this.callParent(arguments);
43 }
44});
45