CustomUploaderSettingsForm DPI issue fixed and tested

This commit is contained in:
Michael Delpach 2020-07-11 13:47:52 +08:00
parent 69d026bd27
commit 0884a5029d
2 changed files with 3 additions and 1 deletions

View file

@ -1081,7 +1081,8 @@ private void InitializeComponent()
//
this.AllowDrop = true;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.SystemColors.Window;
this.Controls.Add(this.tcCustomUploader);
this.Controls.Add(this.lblDestinationType);

View file

@ -4925,6 +4925,7 @@ private void InitializeComponent()
// UploadersConfigForm
//
resources.ApplyResources(this, "$this");
this.AutoScaleDimensions = new System.Drawing.SizeF(DeviceDpi, DeviceDpi);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.BackColor = System.Drawing.SystemColors.Window;
this.Controls.Add(this.tcUploaders);