From 3a86fd706895dfb6b1530cd9bbbf49d073edbf5f Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Mon, 1 Mar 2010 22:45:35 +0000 Subject: [PATCH] give the fileuploadfield a width so the text field expands correctly --- deluge/ui/web/js/deluge-all/Deluge.Add.File.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/ui/web/js/deluge-all/Deluge.Add.File.js b/deluge/ui/web/js/deluge-all/Deluge.Add.File.js index 072268148..31bf844dc 100644 --- a/deluge/ui/web/js/deluge-all/Deluge.Add.File.js +++ b/deluge/ui/web/js/deluge-all/Deluge.Add.File.js @@ -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',