[AutoAdd] Fix Windows display scaling breaking WebUI elements
Closes: https://github.com/deluge-torrent/deluge/pull/444
This commit is contained in:
parent
d9e3facbe8
commit
d98d15422a
|
@ -17,7 +17,8 @@ Ext.ns('Deluge.ux.AutoAdd');
|
|||
*/
|
||||
Deluge.ux.AutoAdd.AutoAddWindowBase = Ext.extend(Ext.Window, {
|
||||
width: 350,
|
||||
autoHeight: true,
|
||||
height: 500,
|
||||
layout: 'fit',
|
||||
closeAction: 'hide',
|
||||
|
||||
spin_ids: ['max_download_speed', 'max_upload_speed', 'stop_ratio'],
|
||||
|
@ -69,6 +70,7 @@ Deluge.ux.AutoAdd.AutoAddWindowBase = Ext.extend(Ext.Window, {
|
|||
|
||||
this.form = this.add({
|
||||
xtype: 'form',
|
||||
layout: 'fit',
|
||||
baseCls: 'x-plain',
|
||||
bodyStyle: 'padding: 5px',
|
||||
items: [
|
||||
|
|
Loading…
Reference in New Issue