[AutoAdd] Fix Windows display scaling breaking WebUI elements

Closes: https://github.com/deluge-torrent/deluge/pull/444
This commit is contained in:
Martin Hertz 2024-03-17 13:00:10 +01:00 committed by Calum Lind
parent d9e3facbe8
commit d98d15422a
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,8 @@ Ext.ns('Deluge.ux.AutoAdd');
*/ */
Deluge.ux.AutoAdd.AutoAddWindowBase = Ext.extend(Ext.Window, { Deluge.ux.AutoAdd.AutoAddWindowBase = Ext.extend(Ext.Window, {
width: 350, width: 350,
autoHeight: true, height: 500,
layout: 'fit',
closeAction: 'hide', closeAction: 'hide',
spin_ids: ['max_download_speed', 'max_upload_speed', 'stop_ratio'], 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({ this.form = this.add({
xtype: 'form', xtype: 'form',
layout: 'fit',
baseCls: 'x-plain', baseCls: 'x-plain',
bodyStyle: 'padding: 5px', bodyStyle: 'padding: 5px',
items: [ items: [