summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Hertz <mvhertz@gmail.com>2024-03-17 13:00:10 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2024-08-24 18:35:31 +0200
commitd98d15422aaecf1164cb23ed3a195ca20cf9339c (patch)
tree2f6530e34c52d858d4790a5cde70fb4e3cfd77a4
parent[CI] Update actions to latest version (node 16 deprecation) (diff)
downloaddeluge-d98d15422aaecf1164cb23ed3a195ca20cf9339c.tar.xz
deluge-d98d15422aaecf1164cb23ed3a195ca20cf9339c.zip
[AutoAdd] Fix Windows display scaling breaking WebUI elements
Closes: https://github.com/deluge-torrent/deluge/pull/444
-rw-r--r--deluge/plugins/AutoAdd/deluge_autoadd/data/autoadd_options.js4
1 files changed, 3 insertions, 1 deletions
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: [