Skip to content

Commit b4b4b3c

Browse files
committed
Force wideMode
1 parent ee4e02d commit b4b4b3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Editor/Editors/TriEditor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public static VisualElement CreateInspector(Action<VisualElement> onGui)
6060

6161
var space = container.resolvedStyle.left + container.resolvedStyle.right + labelExtraPadding;
6262

63+
EditorGUIUtility.wideMode = true;
6364
EditorGUIUtility.hierarchyMode = false;
6465
EditorGUIUtility.labelWidth = Mathf.Max(labelMinWidth,
6566
container.resolvedStyle.width * labelWidthRatio - space);

0 commit comments

Comments
 (0)