- Home /
How to increase text box size in editor for scriptableObjects?
For the game I'm working on, I have short descriptions that I put in for a bunch of scriptable objects, and it would be nice if I could have more than one line for the description. I have tried using [Multiline(4)] and [TextArea(5,10)] but neither of those seemed to do the trick. I'm probably just missing something simple, but I would love some help.
Answer by thejdss · Feb 02, 2019 at 12:58 PM
I think that having to modify the size of text box would be harder than using the Best Fit option in the Text Box Component. Using the Best Fit option you can adjust the size of the text without needing to worry if it is too much text or if the text boxes will collide with each other. @jasguitar
I'll have to check this option out, but today when I opened up unity the problem solved itself. Not sure what changed, but I guess it all worked out in the end. I'll award this the best answer since you also proposed another solution. Thanks a ton! Cheers, Jonathan S
Your answer
Follow this Question
Related Questions
Is there a way to stylize EditorGUI.ObjectField? 0 Answers
Nesting custom inspectors 0 Answers
Organizing Recursive EditorGUI elements 1 Answer
Weird action in Unity editor when pressing the "E" key? 1 Answer
Editor GUI object field stops working 0 Answers