fix the dodgy splitter positions on the spinners

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

View File

@ -32,7 +32,6 @@ Copyright:
*/
(function() {
Ext.deluge.PreferencesWindow = Ext.extend(Ext.Window, {
constructor: function(config) {
config = Ext.apply({
@ -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);
},
/**
@ -157,4 +157,3 @@ Copyright:
});
Deluge.Preferences = new Ext.deluge.PreferencesWindow();
})();