mirror of
https://github.com/codewriter-packages/Tri-Inspector.git
synced 2025-01-22 08:18:49 -05:00
Force wideMode
This commit is contained in:
parent
ee4e02d7ce
commit
b4b4b3c8e8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user