mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 23:48:40 +00:00
change the spinner strategy so it's an integer
This commit is contained in:
parent
68b4af839f
commit
9bdcb04cb3
1 changed files with 6 additions and 1 deletions
|
@ -87,7 +87,12 @@ Copyright:
|
||||||
xtype: 'uxspinner',
|
xtype: 'uxspinner',
|
||||||
ctCls: 'x-form-uxspinner',
|
ctCls: 'x-form-uxspinner',
|
||||||
name: 'port',
|
name: 'port',
|
||||||
strategy: Ext.ux.form.Spinner.NumberStrategy(),
|
strategy: {
|
||||||
|
xtype: 'number',
|
||||||
|
decimalPrecision: 0,
|
||||||
|
minValue: -1,
|
||||||
|
maxValue: 99999
|
||||||
|
},
|
||||||
value: '58846',
|
value: '58846',
|
||||||
anchor: '50%'
|
anchor: '50%'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue