[WebUI] Create more space by removing headers from Prefs dialogs

This commit is contained in:
Calum Lind 2016-05-23 14:05:00 +01:00
parent 717ceee0ea
commit dc56e4557b
17 changed files with 18 additions and 1 deletions

View File

@ -18,6 +18,7 @@ Ext.ns('Deluge.ux.preferences');
Deluge.ux.preferences.BlocklistPage = Ext.extend(Ext.Panel, {
title: _('Blocklist'),
header: false,
layout: 'fit',
border: false,
autoScroll: true,

View File

@ -127,6 +127,7 @@ Ext.ns('Deluge.ux.preferences');
Deluge.ux.preferences.ExecutePage = Ext.extend(Ext.Panel, {
title: _('Execute'),
header: false,
layout: 'fit',
border: false,

View File

@ -18,6 +18,7 @@ Ext.ns('Deluge.ux.preferences');
Deluge.ux.preferences.ExtractorPage = Ext.extend(Ext.Panel, {
title: _('Extractor'),
header: false,
layout: 'fit',
border: false,

View File

@ -18,6 +18,7 @@ Ext.ns('Deluge.ux.preferences');
Deluge.ux.preferences.NotificationsPage = Ext.extend(Ext.Panel, {
title: _('Notifications'),
header: false,
layout: 'fit',
border: false,

View File

@ -480,6 +480,7 @@ Deluge.ux.preferences.SchedulerPage = Ext.extend(Ext.Panel, {
border: false,
title: _('Scheduler'),
header: false,
layout: 'fit',
initComponent: function() {

View File

@ -18,6 +18,7 @@ Deluge.preferences.Bandwidth = Ext.extend(Ext.form.FormPanel, {
config = Ext.apply({
border: false,
title: _('Bandwidth'),
header: false,
layout: 'form',
labelWidth: 10
}, config);

View File

@ -17,8 +17,10 @@ Deluge.preferences.Cache = Ext.extend(Ext.form.FormPanel, {
border: false,
title: _('Cache'),
header: false,
layout: 'form',
initComponent: function() {
Deluge.preferences.Cache.superclass.initComponent.call(this);

View File

@ -17,6 +17,7 @@ Deluge.preferences.Daemon = Ext.extend(Ext.form.FormPanel, {
border: false,
title: _('Daemon'),
header: false,
layout: 'form',
initComponent: function() {

View File

@ -18,6 +18,7 @@ Deluge.preferences.Downloads = Ext.extend(Ext.FormPanel, {
config = Ext.apply({
border: false,
title: _('Downloads'),
header: false,
layout: 'form',
autoHeight: true,
width: 320

View File

@ -17,6 +17,7 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
border: false,
title: _('Encryption'),
header: false,
initComponent: function() {
Deluge.preferences.Encryption.superclass.initComponent.call(this);
@ -27,6 +28,7 @@ Deluge.preferences.Encryption = Ext.extend(Ext.form.FormPanel, {
xtype: 'fieldset',
border: false,
title: _('Settings'),
header: false,
autoHeight: true,
defaultType: 'combo',
width: 300

View File

@ -17,6 +17,7 @@ Deluge.preferences.Interface = Ext.extend(Ext.form.FormPanel, {
border: false,
title: _('Interface'),
header: false,
layout: 'form',
initComponent: function() {

View File

@ -27,6 +27,7 @@ Deluge.preferences.Network = Ext.extend(Ext.form.FormPanel, {
border: false,
layout: 'form',
title: _('Network'),
header: false,
initComponent: function() {
Deluge.preferences.Network.superclass.initComponent.call(this);

View File

@ -18,6 +18,7 @@ Deluge.preferences.Other = Ext.extend(Ext.form.FormPanel, {
config = Ext.apply({
border: false,
title: _('Other'),
header: false,
layout: 'form'
}, config);
Deluge.preferences.Other.superclass.constructor.call(this, config);

View File

@ -17,6 +17,7 @@ Deluge.preferences.Plugins = Ext.extend(Ext.Panel, {
layout: 'border',
title: _('Plugins'),
header: false,
border: false,
cls: 'x-deluge-plugins',

View File

@ -61,7 +61,6 @@ Deluge.preferences.PreferencesWindow = Ext.extend(Ext.Window, {
});
this.add({
region: 'west',
title: _('Categories'),
items: [this.list],
width: 120,
margins: '0 5 0 0',

View File

@ -18,6 +18,7 @@ Deluge.preferences.Proxy = Ext.extend(Ext.form.FormPanel, {
config = Ext.apply({
border: false,
title: _('Proxy'),
header: false,
layout: 'form',
autoScroll: true
}, config);

View File

@ -17,6 +17,7 @@ Deluge.preferences.Queue = Ext.extend(Ext.form.FormPanel, {
border: false,
title: _('Queue'),
header: false,
layout: 'form',
initComponent: function() {