fix the dodgy splitter positions on the spinners

This commit is contained in:
Damien Churchill 2009-07-30 22:26:23 +00:00
commit 0c4cc4d0e2

View file

@ -32,8 +32,7 @@ Copyright:
*/
(function() {
Ext.deluge.PreferencesWindow = Ext.extend(Ext.Window, {
Ext.deluge.PreferencesWindow = Ext.extend(Ext.Window, {
constructor: function(config) {
config = Ext.apply({
layout: 'border',
@ -44,7 +43,7 @@ Copyright:
closable: true,
iconCls: 'x-deluge-preferences',
plain: true,
resizable: true,
resizable: false,
title: _('Preferences'),
currentPage: false,
@ -114,7 +113,8 @@ Copyright:
store.loadData([[name]], true);
page['bodyStyle'] = 'margin: 5px';
this.pages[name] = this.configPanel.add(page);
this.pages[name].hide();
this.pages[name].setWidth(365);
this.pages[name].setHeight(410);
},
/**
@ -154,7 +154,6 @@ Copyright:
scope: this
})
}
});
});
Deluge.Preferences = new Ext.deluge.PreferencesWindow();
})();
Deluge.Preferences = new Ext.deluge.PreferencesWindow();