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

@@ -265,5 +265,10 @@ namespace GrasscutterTools.Pages
{
UIUtil.OpenURL("https://github.com/Penelopeep/CharacterBuilder");
}
private void ListSubAttributionChecked_MeasureItem(object sender, MeasureItemEventArgs e)
{
e.ItemHeight = ListSubAttributionChecked.Font.Height * 3 / 2;
}
}
}