Entity list icons shrink to the list width
This commit is contained in:
1 parent
93ebb12c58
commit
80c86063c4
2 files changed
+24
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user