Fixed Settings not fitting inside Preferences window on older Unity versions

This commit is contained in:
yasirkula
2022-01-04 23:24:55 +03:00
parent 4fddcb7b80
commit c9ceab6085
@@ -171,7 +171,11 @@ namespace AssetUsageDetectorNamespace
public static void PreferencesGUI()
{
float labelWidth = EditorGUIUtility.labelWidth;
#if UNITY_2018_3_OR_NEWER
EditorGUIUtility.labelWidth += 60f;
#else
EditorGUIUtility.labelWidth += 20f;
#endif
EditorGUI.BeginChangeCheck();