fix rendering the form on the options tab (this fix is a little hacky, might be worth looking at the ext or mootools adapter for a better fix

This commit is contained in:
Damien Churchill 2009-04-02 10:24:55 +00:00
parent 6897cd8b6b
commit c6deb9ec8b

View File

@ -346,7 +346,9 @@ Deluge.Details.Peers = {
Deluge.Details.Options = { Deluge.Details.Options = {
onRender: function(panel) { onRender: function(panel) {
panel.layout = new Ext.layout.FormLayout();
panel.layout.setContainer(panel);
panel.doLayout();
} }
} }
@ -497,6 +499,7 @@ Deluge.Details.Panel = new Ext.TabPanel({
frame: true, frame: true,
autoScroll:true, autoScroll:true,
deferredRender:false, deferredRender:false,
items: [{ items: [{
layout: 'column', layout: 'column',
defaults: { defaults: {