Fix ListBox overflow on high DPI (#235)

This commit is contained in:
剧毒的KCN
2024-09-07 21:35:50 +08:00
committed by GitHub
parent fafff8090f
commit e6a2d26671
16 changed files with 52 additions and 10 deletions

View File

@@ -104,6 +104,7 @@
resources.ApplyResources(this.ListGameItems, "ListGameItems");
this.ListGameItems.FormattingEnabled = true;
this.ListGameItems.Name = "ListGameItems";
this.ListGameItems.MeasureItem += new System.Windows.Forms.MeasureItemEventHandler(this.ListGameItems_MeasureItem);
this.ListGameItems.SelectedIndexChanged += new System.EventHandler(this.GiveItemsInputChanged);
//
// LblGameItemAmount
@@ -172,6 +173,7 @@
//
// MenuItemFilter
//
this.MenuItemFilter.ImageScalingSize = new System.Drawing.Size(24, 24);
this.MenuItemFilter.Name = "MenuSpawnEntityFilter";
resources.ApplyResources(this.MenuItemFilter, "MenuItemFilter");
//