Skip to content

Commit

Permalink
[AutoAdd] Fix Windows display scaling breaking WebUI elements
Browse files Browse the repository at this point in the history
Closes: #444
  • Loading branch information
mhertz authored and cas-- committed Aug 24, 2024
1 parent d9e3fac commit d98d154
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 d98d154

Please sign in to comment.