From d98d15422aaecf1164cb23ed3a195ca20cf9339c Mon Sep 17 00:00:00 2001 From: Martin Hertz Date: Sun, 17 Mar 2024 13:00:10 +0100 Subject: [PATCH] [AutoAdd] Fix Windows display scaling breaking WebUI elements Closes: https://github.com/deluge-torrent/deluge/pull/444 --- deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options.js b/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options.js index 7ec4448b9..dfb19a7d9 100644 --- a/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options.js +++ b/deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options.js @@ -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: [