Fix classic scaling on high dpi displays

This commit is contained in:
Mbucari 2023-07-06 21:30:18 -06:00
parent bfa7f5cca9
commit 27c74e52ca
55 changed files with 2290 additions and 1947 deletions

View file

@ -29,7 +29,8 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Text = "Form1";
}