Fix up the sizing of the downloads preference page

This commit is contained in:
Damien Churchill 2009-10-01 10:51:27 +00:00
parent 5be72551f0
commit 0a9cccb5e8
2 changed files with 108 additions and 104 deletions

View File

@ -29,7 +29,6 @@ Copyright:
but you are not obligated to do so. If you do not wish to do so, delete but you are not obligated to do so. If you do not wish to do so, delete
this exception statement from your version. If you delete this exception this exception statement from your version. If you delete this exception
statement from all source files in the program, then also delete it here. statement from all source files in the program, then also delete it here.
*/ */
Ext.namespace('Ext.ux.util'); Ext.namespace('Ext.ux.util');

View File

@ -54,7 +54,9 @@ Ext.deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, {
labelWidth: 150, labelWidth: 150,
defaultType: 'textfield', defaultType: 'textfield',
autoHeight: true, autoHeight: true,
labelAlign: 'top' labelAlign: 'top',
width: 260,
style: 'margin-bottom: 5px; padding-bottom: 5px;'
}); });
optMan.bind('download_location', fieldset.add({ optMan.bind('download_location', fieldset.add({
name: 'download_location', name: 'download_location',
@ -86,7 +88,9 @@ Ext.deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, {
title: _('Allocation'), title: _('Allocation'),
autoHeight: true, autoHeight: true,
labelWidth: 1, labelWidth: 1,
defaultType: 'radiogroup' defaultType: 'radiogroup',
style: 'margin-bottom: 5px; padding-bottom: 5px;',
width: 260
}); });
optMan.bind('compact_allocation', fieldset.add({ optMan.bind('compact_allocation', fieldset.add({
name: 'compact_allocation', name: 'compact_allocation',
@ -103,7 +107,8 @@ Ext.deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, {
title: _('Options'), title: _('Options'),
autoHeight: true, autoHeight: true,
labelWidth: 1, labelWidth: 1,
defaultType: 'checkbox' defaultType: 'checkbox',
width: 260
}); });
optMan.bind('prioritize_first_last_pieces', fieldset.add({ optMan.bind('prioritize_first_last_pieces', fieldset.add({
name: 'prioritize_first_last_pieces', name: 'prioritize_first_last_pieces',