mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-06 15:21:59 +08:00
Fix ListBox overflow on high DPI (#235)
This commit is contained in:
1 parent
fafff8090f
commit
e6a2d26671
16 files changed
+52
-10
No files matched your search
@@ -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