1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| Ext.define('Neptune.view.form.widget.Basic', {
| extend: 'Ext.form.Panel',
| xtype: 'basicForm',
|
| title: 'Basic Form',
| width: 300,
| bodyPadding: 10,
| defaults: {
| anchor: '100%'
| },
| items: [
| { xtype: 'textField' },
| { xtype: 'comboBox' },
| { xtype: 'numberField' }
| ],
| buttons: [
| { text: 'Submit' },
| { text: 'Cancel' }
| ]
| });
|
|