Force wideMode

This commit is contained in:
VladV 2023-08-18 10:49:51 +04:00
parent ee4e02d7ce
commit b4b4b3c8e8

View File

@ -60,6 +60,7 @@ namespace TriInspector.Editors
var space = container.resolvedStyle.left + container.resolvedStyle.right + labelExtraPadding;
EditorGUIUtility.wideMode = true;
EditorGUIUtility.hierarchyMode = false;
EditorGUIUtility.labelWidth = Mathf.Max(labelMinWidth,
container.resolvedStyle.width * labelWidthRatio - space);