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

@@ -63,7 +63,7 @@ private void InitializeComponent()
// AchievementRow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.AutoSize = true;
this.Controls.Add(this.L_Threshold);
this.Controls.Add(this.CHK_Read);

View File

@@ -921,7 +921,7 @@ private void InitializeComponent()
// ItemEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.Controls.Add(this.FLP_Controls);
this.Name = "ItemEditor";
this.Size = new System.Drawing.Size(222, 681);

View File

@@ -33,7 +33,7 @@ private void InitializeComponent()
// ItemGrid
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.Name = "ItemGrid";
this.ResumeLayout(false);

View File

@@ -305,7 +305,7 @@ private void InitializeComponent()
// ItemGridEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.Controls.Add(this.FLP_Controls);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "ItemGridEditor";

View File

@@ -79,7 +79,7 @@ private void InitializeComponent()
// RestrictedItemSelect
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.Controls.Add(this.CHK_CustomItem);
this.Controls.Add(this.NUD_CustomItem);
this.Controls.Add(this.CB_ItemID);

View File

@@ -349,7 +349,7 @@ private void InitializeComponent()
// VillagerEditor
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
this.Controls.Add(this.B_ReplaceVillager);
this.Controls.Add(this.B_SetPhraseOriginal);
this.Controls.Add(this.B_EditHouses);