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:
@@ -98,5 +98,10 @@ namespace GrasscutterTools.Pages
|
||||
var id = ItemMap.ToId(item);
|
||||
SetCommand($"/quest add {id} | /quest finish {id}");
|
||||
}
|
||||
|
||||
private void ListQuest_MeasureItem(object sender, MeasureItemEventArgs e)
|
||||
{
|
||||
e.ItemHeight = ListQuest.Font.Height * 3 / 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user