CenterParent, Dpi base scaling

This commit is contained in:
Kurt
2026-01-28 19:51:49 -06:00
parent be1b6f07a7
commit 2ca9fd6e22
41 changed files with 72 additions and 66 deletions

View File

@@ -149,7 +149,7 @@ private void InitializeComponent()
// BatchEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.ClientSize = new System.Drawing.Size(394, 254);
this.Controls.Add(this.L_PropValue);
this.Controls.Add(this.L_PropType);
@@ -165,7 +165,7 @@ private void InitializeComponent()
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "BatchEditor";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Batch Editor";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SysBotRAMEdit_FormClosing);
this.ResumeLayout(false);

View File

@@ -62,7 +62,7 @@ private void InitializeComponent()
// SimpleHexEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.ClientSize = new System.Drawing.Size(384, 343);
this.Controls.Add(this.B_Update);
this.Controls.Add(this.RTB_RAM);

View File

@@ -163,7 +163,7 @@ private void InitializeComponent()
// SysBotRAMEdit
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.ClientSize = new System.Drawing.Size(234, 140);
this.Controls.Add(this.GB_Inject);
this.Controls.Add(this.B_Connect);
@@ -176,7 +176,7 @@ private void InitializeComponent()
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "SysBotRAMEdit";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "SysBotUI";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SysBotRAMEdit_FormClosing);
this.GB_Inject.ResumeLayout(false);

View File

@@ -270,7 +270,7 @@ private void InitializeComponent()
// SysBotUI
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.ClientSize = new System.Drawing.Size(245, 342);
this.Controls.Add(this.GB_USB);
this.Controls.Add(this.GB_Inject);
@@ -285,7 +285,7 @@ private void InitializeComponent()
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "SysBotUI";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "SysBotUI";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.SysBotUI_FormClosing);
this.GB_Inject.ResumeLayout(false);