mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-12-10 08:51:34 +08:00
Fix ListBox overflow on high DPI (#235)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user