3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
7 Ext.onReady(function(){
\r
8 var simple = new Ext.FormPanel({
\r
9 labelWidth: 40, // label settings here cascade unless overridden
\r
11 title: 'Simple Form',
\r
12 bodyStyle: 'padding:5px 5px 0',
\r
14 defaults: {width: 135},
\r
15 defaultType: 'textfield',
\r
18 new Ext.ux.form.SpinnerField({
\r
23 xtype: 'spinnerfield',
\r
28 allowDecimals: true,
\r
29 decimalPrecision: 1,
\r
30 incrementValue: 0.4,
\r
31 alternateIncrementValue: 2.1,
\r
37 simple.render('form-ct');
\r