Module: deluge
Branch: master
Commit: 3a86fd706895dfb6b1530cd9bbbf49d073edbf5f

Author: Damien Churchill <[email protected]>
Date:   Mon Mar  1 22:45:35 2010 +0000

give the fileuploadfield a width so the text field expands correctly

---

 deluge/ui/web/js/deluge-all/Deluge.Add.File.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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 0722681..31bf844 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',

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to