[WebUI] Constrain dialogs to browser window
This commit is contained in:
parent
dc56e4557b
commit
3837a2c5d6
|
@ -21,7 +21,7 @@ Deluge.AddConnectionWindow = Ext.extend(Ext.Window, {
|
|||
layout: 'fit',
|
||||
width: 300,
|
||||
height: 195,
|
||||
|
||||
constrainHeader: true,
|
||||
bodyStyle: 'padding: 10px 5px;',
|
||||
closeAction: 'hide',
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -22,6 +22,7 @@ Deluge.EditTrackersWindow = Ext.extend(Ext.Window, {
|
|||
plain: true,
|
||||
closable: true,
|
||||
resizable: true,
|
||||
constrainHeader: true,
|
||||
|
||||
bodyStyle: 'padding: 5px',
|
||||
buttonAlign: 'right',
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -18,7 +18,7 @@ Deluge.OtherLimitWindow = Ext.extend(Ext.Window, {
|
|||
layout: 'fit',
|
||||
width: 210,
|
||||
height: 100,
|
||||
|
||||
constrainHeader: true,
|
||||
closeAction: 'hide',
|
||||
|
||||
initComponent: function() {
|
||||
|
|
|
@ -18,7 +18,7 @@ Deluge.RemoveWindow = Ext.extend(Ext.Window, {
|
|||
layout: 'fit',
|
||||
width: 350,
|
||||
height: 100,
|
||||
|
||||
constrainHeader: true,
|
||||
buttonAlign: 'right',
|
||||
closeAction: 'hide',
|
||||
closable: true,
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue