Skip to content

Commit

Permalink
[AutoAdd] Fix Windows display scaling breaking WebUI elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mhertz authored and Lord-Kamina committed Aug 24, 2024
1 parent 2f8255b commit 912f74c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down Expand Up @@ -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: [
Expand Down

0 comments on commit 912f74c

Please sign in to comment.