mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2026-11-05 15:11: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
@@ -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