[WebUI] Remove border in Prefs for cleaner look

This commit is contained in:
Calum Lind 2016-05-16 01:19:35 +01:00
parent e330ff0299
commit b450739333
1 changed files with 3 additions and 4 deletions

View File

@ -26,6 +26,7 @@ Deluge.preferences.PreferencesWindow = Ext.extend(Ext.Window, {
layout: 'border', layout: 'border',
width: 485, width: 485,
height: 500, height: 500,
border: false,
buttonAlign: 'right', buttonAlign: 'right',
closeAction: 'hide', closeAction: 'hide',
@ -63,8 +64,8 @@ Deluge.preferences.PreferencesWindow = Ext.extend(Ext.Window, {
title: _('Categories'), title: _('Categories'),
items: [this.list], items: [this.list],
width: 120, width: 120,
margins: '5 0 5 5', margins: '0 5 0 0',
cmargins: '5 0 5 5' cmargins: '0 5 0 0'
}); });
this.configPanel = this.add({ this.configPanel = this.add({
@ -77,8 +78,6 @@ Deluge.preferences.PreferencesWindow = Ext.extend(Ext.Window, {
}, },
autoScroll: true, autoScroll: true,
width: 300, width: 300,
margins: '5 5 5 5',
cmargins: '5 5 5 5'
}); });
this.addButton(_('Close'), this.onClose, this); this.addButton(_('Close'), this.onClose, this);