Change Text Size and height EditorGuiLayout.Popup

Is there a way to change the text size of label in EditorGuiLayout.Popup?? I have tried creating a new style but it only changes the text size of the content in the drop drop down. I would also like to make the button height match the rest of the stuff int he box.

Thanks!

http://screencast.com/t/QfkhppV2H5g

I am having the same issue. Every style I try only affects the list that pops up, not the idle control. Does anyone have any tips? I can't find any documentation on this.

1 Answer

1

After playing around with it, I think the answer is to use EditorStyles.popup for both the font size and control height. You can do something like:

EditorStyles.popup.fontSize = intSomeSize;
EditorStyles.popup.fixedHeight = intSomeHeight;

Does that help?

This could do. But, I suggest to always store any original values of EditorStyles before changing them either directly changing them or create new custom EditorStyle.