Viewport.js
1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Ext.define('KitchenSink.view.Viewport', {
extend: 'Ext.container.Viewport',
requires: [
'Ext.layout.container.Border',
'Ext.layout.container.HBox',
'KitchenSink.view.List'
],
layout: 'border',
items: [
{
region: 'north',
xtype : 'pageHeader'
},
{
region: 'center',
layout: {
type : 'hbox',
align: 'stretch'
},
items: [
{
width: 250,
bodyPadding: 5,
xtype: 'exampleList'
},
{
cls: 'x-example-panel',
flex: 1,
title: ' ',
id : 'examplePanel',
layout: {
type: 'vbox',
align: 'center',
pack: 'center'
},
overflowY: 'auto',
bodyPadding: 0
}
]
},
{
xtype: 'pageHeader',
region: 'south',
height: 13
}
]
});