1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- 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
- }
- ]
- });
|