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

@@ -299,5 +299,9 @@ namespace GrasscutterTools.Pages
#endregion -- Mail list --
private void ListMailItems_MeasureItem(object sender, MeasureItemEventArgs e)
{
e.ItemHeight = ListMailItems.Font.Height * 3 / 2;
}
}
}