mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
give the fileuploadfield a width so the text field expands correctly
This commit is contained in:
parent
a69ed83e25
commit
3a86fd7068
1 changed files with 2 additions and 1 deletions
|
@ -57,12 +57,13 @@ Ext.deluge.add.FileWindow = Ext.extend(Ext.deluge.add.Window, {
|
||||||
this.form = this.add({
|
this.form = this.add({
|
||||||
xtype: 'form',
|
xtype: 'form',
|
||||||
baseCls: 'x-plain',
|
baseCls: 'x-plain',
|
||||||
labelWidth: 55,
|
labelWidth: 35,
|
||||||
autoHeight: true,
|
autoHeight: true,
|
||||||
fileUpload: true,
|
fileUpload: true,
|
||||||
items: [{
|
items: [{
|
||||||
xtype: 'fileuploadfield',
|
xtype: 'fileuploadfield',
|
||||||
id: 'torrentFile',
|
id: 'torrentFile',
|
||||||
|
width: 280,
|
||||||
emptyText: _('Select a torrent'),
|
emptyText: _('Select a torrent'),
|
||||||
fieldLabel: _('File'),
|
fieldLabel: _('File'),
|
||||||
name: 'file',
|
name: 'file',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue