I work in a split screen format that often forces the names of elements in my inspector to get cut off. However, I noticed that when giving the TextArea
attribute to one of them, it moved the name above the element to create room for the larger box.
Is there a way to do this with other non-string elements, possibly using a custom inspector?
To change the location of an element’s name in a custom editor, like you did with the TextArea attribute, you can create a custom property drawer for non-string elements in Unity. By implementing a custom drawer script, you can control the layout and positioning of element names in the inspector.
This approach allows you to move the name above the element or arrange it in a way that suits your splitscreen format, providing more space for the larger box and preventing cut-off names.
Thank you praising my effort, it worked like a charm for you!