]> git.proxmox.com Git - sencha-touch.git/blame - src/examples/geocongress/app/view/Settings.js
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / geocongress / app / view / Settings.js
CommitLineData
c4685c84
TL
1/**
2 * The settings form panel
3 */
4Ext.define('GeoCon.view.Settings', {
5 extend: 'Ext.form.Panel',
6
7 requires: [
8 'Ext.form.FieldSet',
9 'Ext.field.Select',
10 'Ext.field.Spinner'
11 ],
12
13 id: 'settingsForm',
14
15 config: {
16 items: [
17 {
18 xtype: 'fieldset',
19 items: [
20 {
21 xtype: 'selectfield',
22 label: 'State',
23 store: 'States',
24 displayField: 'state',
25 valueField: 'abbr',
26 id: 'selectState'
27 },
28 {
29 xtype: 'spinnerfield',
30 label: 'District',
31 stepValue: 1,
32 minValue: 0,
33 maxValue: 0,
34 id: 'districtSpinner'
35 }
36 ]
37 },
38 {
39 xtype: 'button',
40 margin: '0 25%',
41 text: 'Lookup',
42 ui: 'confirm',
43 id: 'lookupBtn'
44 }
45 ]
46 }
47});