- Home /
Get if inspector field labels are on separate line
When changing the width of the inspector window, there's a point where certain fields will be drawn with their labels and values on separate lines (like Vector3). I know I saw a property somewhere accessible from a custom editor or property drawer that would be set to true if this was currently happening in the documentation; but now, for the life of me, I can't find it. Anybody know where it is?
Answer by Roland1234 · Dec 03, 2013 at 02:20 AM
Just found it: EditorGUIUtility.wideMode - true if fields are inlined (label and values on same line), false otherwise.
I hadn't known about that. Thanks for posting your solution!
Your answer
Follow this Question
Related Questions
How can I create a list of preset class/objects to be used in the editor 1 Answer
How would I go about creating a custom Unity Event in a Custom Unity Editor/Inspector? 0 Answers
Insert new custom class element with _default_ values to a SerializedProperty array? 1 Answer
Custom Editor problems 2 Answers