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:
@@ -82,5 +82,10 @@ namespace GrasscutterTools.Pages
|
||||
{
|
||||
SetCommand("/give", $"weapons x{NUDWeaponAmout.Value} lv{NUDWeaponLevel.Value} r{NUDWeaponRefinement.Value}");
|
||||
}
|
||||
|
||||
private void ListWeapons_MeasureItem(object sender, System.Windows.Forms.MeasureItemEventArgs e)
|
||||
{
|
||||
e.ItemHeight = ListWeapons.Font.Height * 3 / 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user