[WebUI] Constrain dialogs to browser window

This commit is contained in:
Calum Lind 2016-05-23 14:04:17 +01:00
parent dc56e4557b
commit 3837a2c5d6
10 changed files with 10 additions and 7 deletions

View File

@ -21,7 +21,7 @@ Deluge.AddConnectionWindow = Ext.extend(Ext.Window, {
layout: 'fit',
width: 300,
height: 195,
constrainHeader: true,
bodyStyle: 'padding: 10px 5px;',
closeAction: 'hide',

View File

@ -22,7 +22,7 @@ Deluge.AddTrackerWindow = Ext.extend(Ext.Window, {
plain: true,
closable: true,
resizable: false,
constrainHeader: true,
bodyStyle: 'padding: 5px',
buttonAlign: 'right',
closeAction: 'hide',

View File

@ -18,6 +18,7 @@ Deluge.ConnectionManager = Ext.extend(Ext.Window, {
closeAction: 'hide',
closable: true,
plain: true,
constrainHeader: true,
title: _('Connection Manager'),
iconCls: 'x-deluge-connect-window-icon',

View File

@ -22,7 +22,7 @@ Deluge.EditTrackerWindow = Ext.extend(Ext.Window, {
plain: true,
closable: true,
resizable: false,
constrainHeader: true,
bodyStyle: 'padding: 5px',
buttonAlign: 'right',
closeAction: 'hide',

View File

@ -22,6 +22,7 @@ Deluge.EditTrackersWindow = Ext.extend(Ext.Window, {
plain: true,
closable: true,
resizable: true,
constrainHeader: true,
bodyStyle: 'padding: 5px',
buttonAlign: 'right',

View File

@ -22,6 +22,7 @@ Deluge.MoveStorage = Ext.extend(Ext.Window, {
closable: true,
iconCls: 'x-deluge-move-storage',
plain: true,
constrainHeader: true,
resizable: false
}, config);
Deluge.MoveStorage.superclass.constructor.call(this, config);

View File

@ -18,7 +18,7 @@ Deluge.OtherLimitWindow = Ext.extend(Ext.Window, {
layout: 'fit',
width: 210,
height: 100,
constrainHeader: true,
closeAction: 'hide',
initComponent: function() {

View File

@ -18,7 +18,7 @@ Deluge.RemoveWindow = Ext.extend(Ext.Window, {
layout: 'fit',
width: 350,
height: 100,
constrainHeader: true,
buttonAlign: 'right',
closeAction: 'hide',
closable: true,

View File

@ -19,7 +19,7 @@ Deluge.preferences.InstallPluginWindow = Ext.extend(Ext.Window, {
layout: 'fit',
height: 115,
width: 350,
constrainHeader: true,
bodyStyle: 'padding: 10px 5px;',
buttonAlign: 'center',
closeAction: 'hide',

View File

@ -27,7 +27,7 @@ Deluge.preferences.PreferencesWindow = Ext.extend(Ext.Window, {
width: 485,
height: 500,
border: false,
constrainHeader: true,
buttonAlign: 'right',
closeAction: 'hide',
closable: true,