give the fileuploadfield a width so the text field expands correctly

This commit is contained in:
Damien Churchill 2010-03-01 22:45:35 +00:00
parent a69ed83e25
commit 3a86fd7068
1 changed files with 2 additions and 1 deletions

View File

@ -57,12 +57,13 @@ Ext.deluge.add.FileWindow = Ext.extend(Ext.deluge.add.Window, {
this.form = this.add({
xtype: 'form',
baseCls: 'x-plain',
labelWidth: 55,
labelWidth: 35,
autoHeight: true,
fileUpload: true,
items: [{
xtype: 'fileuploadfield',
id: 'torrentFile',
width: 280,
emptyText: _('Select a torrent'),
fieldLabel: _('File'),
name: 'file',