set window scaling to DPI

This commit is contained in:
David Sparer
2018-09-02 18:07:14 -05:00
parent 0c77fa43ff
commit e081d2b73a

View File

@@ -193,6 +193,8 @@ namespace mRemoteNG.UI.Window
//
// ConnectionTreeWindow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(204, 411);
this.Controls.Add(this.tableLayoutPanel1);
this.Controls.Add(this.msMain);