diff --git a/ShareX.HelpersLib/Forms/ClipboardContentViewer.Designer.cs b/ShareX.HelpersLib/Forms/ClipboardContentViewer.Designer.cs index 007553665..34e6065b0 100644 --- a/ShareX.HelpersLib/Forms/ClipboardContentViewer.Designer.cs +++ b/ShareX.HelpersLib/Forms/ClipboardContentViewer.Designer.cs @@ -92,7 +92,8 @@ private void InitializeComponent() // this.AcceptButton = this.btnOK; 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.CancelButton = this.btnCancel; this.Controls.Add(this.pbClipboard); diff --git a/ShareX.HelpersLib/Forms/ColorPickerForm.Designer.cs b/ShareX.HelpersLib/Forms/ColorPickerForm.Designer.cs index 91a7df5f9..3fb622896 100644 --- a/ShareX.HelpersLib/Forms/ColorPickerForm.Designer.cs +++ b/ShareX.HelpersLib/Forms/ColorPickerForm.Designer.cs @@ -600,7 +600,8 @@ private void InitializeComponent() // ColorPickerForm // 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.CancelButton = this.btnCancel; this.Controls.Add(this.lblName); diff --git a/ShareX.HelpersLib/Forms/DNSChangerForm.Designer.cs b/ShareX.HelpersLib/Forms/DNSChangerForm.Designer.cs index ce631269f..0b782c958 100644 --- a/ShareX.HelpersLib/Forms/DNSChangerForm.Designer.cs +++ b/ShareX.HelpersLib/Forms/DNSChangerForm.Designer.cs @@ -131,7 +131,8 @@ private void InitializeComponent() // this.AcceptButton = this.btnSave; 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.CancelButton = this.btnCancel; this.Controls.Add(this.btnPingSecondary); diff --git a/ShareX.HelpersLib/Forms/DebugForm.Designer.cs b/ShareX.HelpersLib/Forms/DebugForm.Designer.cs index bce97eeb1..6bf4ce01c 100644 --- a/ShareX.HelpersLib/Forms/DebugForm.Designer.cs +++ b/ShareX.HelpersLib/Forms/DebugForm.Designer.cs @@ -98,7 +98,8 @@ private void InitializeComponent() // DebugForm // 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.btnUploadLog); this.Controls.Add(this.flpRunningFrom); diff --git a/ShareX.HelpersLib/Forms/ErrorForm.Designer.cs b/ShareX.HelpersLib/Forms/ErrorForm.Designer.cs index 31d58cb76..2557b5924 100644 --- a/ShareX.HelpersLib/Forms/ErrorForm.Designer.cs +++ b/ShareX.HelpersLib/Forms/ErrorForm.Designer.cs @@ -105,7 +105,8 @@ private void InitializeComponent() // this.AcceptButton = this.btnContinue; 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.CancelButton = this.btnClose; this.Controls.Add(this.lblErrorMessage); diff --git a/ShareX.HelpersLib/Forms/GradientPickerForm.Designer.cs b/ShareX.HelpersLib/Forms/GradientPickerForm.Designer.cs index 88a8b32aa..139cbbeeb 100644 --- a/ShareX.HelpersLib/Forms/GradientPickerForm.Designer.cs +++ b/ShareX.HelpersLib/Forms/GradientPickerForm.Designer.cs @@ -158,7 +158,8 @@ private void InitializeComponent() // GradientPickerForm // 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.CancelButton = this.btnCancel; this.Controls.Add(this.btnReverse); diff --git a/ShareX.HelpersLib/Forms/MonitorTestForm.Designer.cs b/ShareX.HelpersLib/Forms/MonitorTestForm.Designer.cs index b52093748..eb59daa3d 100644 --- a/ShareX.HelpersLib/Forms/MonitorTestForm.Designer.cs +++ b/ShareX.HelpersLib/Forms/MonitorTestForm.Designer.cs @@ -278,7 +278,8 @@ private void InitializeComponent() // MonitorTestForm // 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.Color.White; this.Controls.Add(this.pSettings); this.Cursor = System.Windows.Forms.Cursors.Default; diff --git a/ShareX.HelpersLib/Forms/OutputBox.Designer.cs b/ShareX.HelpersLib/Forms/OutputBox.Designer.cs index 6df3abaf6..79bd95305 100644 --- a/ShareX.HelpersLib/Forms/OutputBox.Designer.cs +++ b/ShareX.HelpersLib/Forms/OutputBox.Designer.cs @@ -49,8 +49,8 @@ private void InitializeComponent() // // OutputBox // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - 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.Color.Black; this.ClientSize = new System.Drawing.Size(784, 562); this.Controls.Add(this.txtText); diff --git a/ShareX.HelpersLib/Forms/PrintForm.Designer.cs b/ShareX.HelpersLib/Forms/PrintForm.Designer.cs index 2c074f0ca..8addc4d1d 100644 --- a/ShareX.HelpersLib/Forms/PrintForm.Designer.cs +++ b/ShareX.HelpersLib/Forms/PrintForm.Designer.cs @@ -103,7 +103,8 @@ private void InitializeComponent() // this.AcceptButton = this.btnPrint; 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.CancelButton = this.btnCancel; this.Controls.Add(this.btnCancel); diff --git a/ShareX.HelpersLib/Forms/PrintTextForm.Designer.cs b/ShareX.HelpersLib/Forms/PrintTextForm.Designer.cs index 21f1fbc07..66c15b171 100644 --- a/ShareX.HelpersLib/Forms/PrintTextForm.Designer.cs +++ b/ShareX.HelpersLib/Forms/PrintTextForm.Designer.cs @@ -59,7 +59,8 @@ private void InitializeComponent() // PrintTextForm // 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.lblFont); this.Controls.Add(this.btnChangeFont); diff --git a/ShareX.HelpersLib/UpdateChecker/DownloaderForm.Designer.cs b/ShareX.HelpersLib/UpdateChecker/DownloaderForm.Designer.cs index a52831510..cce81837b 100644 --- a/ShareX.HelpersLib/UpdateChecker/DownloaderForm.Designer.cs +++ b/ShareX.HelpersLib/UpdateChecker/DownloaderForm.Designer.cs @@ -78,7 +78,8 @@ private void InitializeComponent() // DownloaderForm // 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.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.Controls.Add(this.lblProgress); this.Controls.Add(this.lblStatus); diff --git a/ShareX.HelpersLib/UpdateChecker/UpdateMessageBox.Designer.cs b/ShareX.HelpersLib/UpdateChecker/UpdateMessageBox.Designer.cs index 8c6811c9d..70ca45f75 100644 --- a/ShareX.HelpersLib/UpdateChecker/UpdateMessageBox.Designer.cs +++ b/ShareX.HelpersLib/UpdateChecker/UpdateMessageBox.Designer.cs @@ -78,7 +78,8 @@ private void InitializeComponent() // UpdateMessageBox // 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.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(70)))), ((int)(((byte)(70))))); this.Controls.Add(this.lblViewChangelog); this.Controls.Add(this.btnNo);