ever since I added a EditorGUILayout.Popup("", 0, availableTypes,"button"); to my CustomEditor, the inspector constantly jumps back and forth between two different styles (see attached pictures), which makes it impossible to work with it.
Now the reason why I want the Popup to be drawn as “button”, is because I find it more logical in this case (it adds an object, and you select it’s type from a dropdown list).
I also noticed that the style it now jumps to (picture 1), is much nicer than the default style.
So the questions are:
Is there a way I can always have that style for my CustomEditor?
How can I have a EditorGUILayout.Popup drawn as a button without the constant style switching?
I hope you guys can help me, I’m kind of stuck here.