Fix ListBox overflow on high DPI (#235)

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

No files matched your search

@@ -249,6 +249,10 @@ namespace GrasscutterTools.Pages
}
#endregion -- 物品记录 --
private void ListGameItems_MeasureItem(object sender, MeasureItemEventArgs e)
{
e.ItemHeight = ListGameItems.Font.Height * 3 / 2;
}
}
}