- Home /
Question by
Scuba Kay · Jun 08, 2016 at 10:33 AM ·
editorguilayoutguistyle
Custom style for EditorGUILayout.Popup
Hi there!
I have an EditorGUILayout.Popup and a custom style.
GUIStyle style = GUI.skin.GetStyle("popup");
selected = EditorGUILayout.Popup(child.GetSlotLabel(slotType), selected, availableMethods, style);
I changed the background for the popup style in my custom style. This works, but somehow the text of the selected item is not showing anymore. How can I fix this?
Also, how can I add an arrow image to the popup?
Comment