Entity list icons shrink to the list width

This commit is contained in:
cthangover committed 2026-10-24 12:56:09 +02:00
1 parent 93ebb12c58
commit 80c86063c4
2 files changed
+24

No files matched your search

+1
View File
@@ -110,6 +110,7 @@ namespace Cthangover.Tools.EntityEditor
listColumn.AddChild(ToolUi.Section("tools/entity_editor/section_list"));
list = new FilteredList(320f, "tools/entity_editor/search");
list.SizeFlagsVertical = Control.SizeFlags.ExpandFill;
list.FitIcons(64);
list.Chosen += OnChosen;
listColumn.AddChild(list);
var listPanel = CreateSidebar(listColumn, 320);