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

@ -76,8 +76,8 @@
// _2faCodeDialog
//
AcceptButton = submitBtn;
AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
ClientSize = new System.Drawing.Size(222, 147);
Controls.Add(promptLbl);
Controls.Add(label1);