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

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