--- /dev/null
+/*!
+ * Ext JS Library 3.0.0
+ * Copyright(c) 2006-2009 Ext JS, LLC
+ * licensing@extjs.com
+ * http://www.extjs.com/license
+ */
+Ext.onReady(function(){\r
+ var simple = new Ext.FormPanel({\r
+ labelWidth: 40, // label settings here cascade unless overridden\r
+ frame: true,\r
+ title: 'Simple Form',\r
+ bodyStyle: 'padding:5px 5px 0',\r
+ width: 210,\r
+ defaults: {width: 135},\r
+ defaultType: 'textfield',\r
+\r
+ items: [\r
+ new Ext.ux.form.SpinnerField({\r
+ fieldLabel: 'Age',\r
+ name: 'age'\r
+ }),\r
+ {\r
+ xtype: 'spinnerfield',\r
+ fieldLabel: 'Test',\r
+ name: 'test',\r
+ minValue: 0,\r
+ maxValue: 100,\r
+ allowDecimals: true,\r
+ decimalPrecision: 1,\r
+ incrementValue: 0.4,\r
+ alternateIncrementValue: 2.1,\r
+ accelerate: true\r
+ }\r
+ ]\r
+ });\r
+\r
+ simple.render('form-ct');\r
+});\r