EditorGUILayout.EnumPopup and scrolling

I have a rather large enum I generate, and is still growing at this time. With the number of elements involved, it is getting rather annoying to get to the newly added enums at the bottom of the list.

What I would like is a way to use the scroll wheel to quickly move through the list, or have some other way to be able to go through the various enums. Is there any way to do this?

This is all I have at the moment for my enums:

public override void OnInspectorGUI()
{
values = (StringEnums)EditorGUILayout.EnumPopup(“String Tag”, values);
}

I’m sorry if I misunderstood but did you mean this?

The problem is listing a large amount of enums and allowing the user to select one. I don’t see a way to put the enums into the scroll view to easily go through them, and I don’t see a way to make the enumPopup scrollable.

I am in the same situation in 2020.
The wheel does not work in Windows OS.
It works fine on Mac OS.
Is there any way?

Scroll wheel should definitely get support here. It takes forever to scroll just a little bit down. With a giant list of enums you’re going to hate yourself.

1 Like