-<html>\r
-<head>\r
- <title>The source code</title>\r
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body onload="prettyPrint();">\r
+<html>
+<head>
+ <title>The source code</title>
+ <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
+</head>
+<body onload="prettyPrint();">
<pre class="prettyprint lang-js">Ext.ns('Ext.ux.form');\r
\r
<div id="cls-Ext.ux.form.SpinnerField"></div>/**\r
* @xtype spinnerfield\r
*/\r
Ext.ux.form.SpinnerField = Ext.extend(Ext.form.NumberField, {\r
+ actionMode: 'wrap',\r
deferHeight: true,\r
autoSize: Ext.emptyFn,\r
onBlur: Ext.emptyFn,\r
Ext.ux.form.SpinnerField.superclass.constructor.call(this, Ext.apply(config, {plugins: plugins}));\r
},\r
\r
- onShow: function(){\r
- if (this.wrap) {\r
- this.wrap.dom.style.display = '';\r
- this.wrap.dom.style.visibility = 'visible';\r
- }\r
- },\r
-\r
- onHide: function(){\r
- this.wrap.dom.style.display = 'none';\r
- },\r
-\r
// private\r
getResizeEl: function(){\r
return this.wrap;\r
\r
//backwards compat\r
Ext.form.SpinnerField = Ext.ux.form.SpinnerField;\r
-</pre> \r
-</body>\r
+</pre>
+</body>
</html>
\ No newline at end of file