change the labelAlign to top and icnrease the width of the fields

This commit is contained in:
Damien Churchill 2009-09-24 16:42:36 +00:00
parent 51b15c78a8
commit 7749f99828
1 changed files with 6 additions and 5 deletions

View File

@ -53,29 +53,30 @@ Ext.deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, {
title: _('Folders'), title: _('Folders'),
labelWidth: 150, labelWidth: 150,
defaultType: 'textfield', defaultType: 'textfield',
autoHeight: true autoHeight: true,
labelAlign: 'top'
}); });
optMan.bind('download_location', fieldset.add({ optMan.bind('download_location', fieldset.add({
name: 'download_location', name: 'download_location',
fieldLabel: _('Download to'), fieldLabel: _('Download to'),
width: 140 width: 240
})); }));
optMan.bind('move_completed_path', fieldset.add({ optMan.bind('move_completed_path', fieldset.add({
name: 'move_completed_path', name: 'move_completed_path',
fieldLabel: _('Move completed to'), fieldLabel: _('Move completed to'),
width: 140, width: 240,
disabled: true disabled: true
})); }));
optMan.bind('torrentfiles_location', fieldset.add({ optMan.bind('torrentfiles_location', fieldset.add({
name: 'torrentfiles_location', name: 'torrentfiles_location',
fieldLabel: _('Copy of .torrent files to'), fieldLabel: _('Copy of .torrent files to'),
width: 140, width: 240,
disabled: true disabled: true
})); }));
optMan.bind('autoadd_location', fieldset.add({ optMan.bind('autoadd_location', fieldset.add({
name: 'autoadd_location', name: 'autoadd_location',
fieldLabel: _('Autoadd .torrent files from'), fieldLabel: _('Autoadd .torrent files from'),
width: 140, width: 240,
disabled: true disabled: true
})); }));