[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
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, { Deluge.ux.preferences.BlocklistPage = Ext.extend(Ext.Panel, {
title: _('Blocklist'), title: _('Blocklist'),
header: false,
layout: 'fit', layout: 'fit',
border: false, border: false,
autoScroll: true, autoScroll: true,

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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