From 03dac27147d8216390d8ed1322244038b1c23e76 Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 2 Apr 2009 18:13:29 +0000 Subject: [PATCH] tweak the options form layout, settings fixed column widths --- deluge/ui/web/js/deluge-details.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deluge/ui/web/js/deluge-details.js b/deluge/ui/web/js/deluge-details.js index 4c1a14579..c0136e650 100644 --- a/deluge/ui/web/js/deluge-details.js +++ b/deluge/ui/web/js/deluge-details.js @@ -509,12 +509,13 @@ Deluge.Details.Panel = new Ext.TabPanel({ items: [{ layout: 'column', defaults: { - columnWidth: '.33', + //columnWidth: '.33', border: false }, items: [{ bodyStyle: 'padding-left: 5px; padding-right:5px;', + width: 300, items: [{ xtype: 'fieldset', title: _('Bandwidth'), @@ -593,6 +594,7 @@ Deluge.Details.Panel = new Ext.TabPanel({ }] }, { bodyStyle: 'padding-left: 5px; padding-right:5px;', + width: 200, items: [{ xtype: 'fieldset', title: _('Queue'), @@ -623,6 +625,7 @@ Deluge.Details.Panel = new Ext.TabPanel({ }] }, { bodyStyle: 'padding-left:5px;', + width: 200, items: [{ xtype: 'fieldset', title: _('General'), @@ -648,14 +651,12 @@ Deluge.Details.Panel = new Ext.TabPanel({ text: _('Edit Trackers'), cls: 'x-btn-text-icon', iconCls: 'x-deluge-edit-trackers', - columnWidth: '.50', width: 100 }, { id: 'apply', xtype: 'button', text: _('Apply'), style: 'margin-left: 10px', - columnWidth: '.50', width: 100 }] }]