- Home /
Question by
DragoDude · Apr 02, 2021 at 10:03 PM ·
editorguieditorguilayout
Custom editor list with custom class with height settings draws wrong
I created a custom editor gui for a class that includes a custom renderer for a list and a custom renderer for the classes within the list. It works perfectly, with the only problem being that when I change the enum (which determines the height of the class) the class at the top is the only one affected by the change even if the change is near the bottom. I think I may have to pass the index to the function that gets the height but I have no idea how to do this. Help would be appreciated.
Comment