File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Assets/Editor/Editor Windows Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,8 @@ private void PutPropertiesForObject_V<T>(List<T> Configs) where T : ScriptableOb
403403
404404 // Display the file name and a delete button for the asset
405405 EditorGUILayout . BeginHorizontal ( ) ;
406- EditorGUILayout . LabelField ( fileName , EditorStyles . miniBoldLabel , GUILayout . MinWidth ( PropertyMinWidth ) ) ;
406+ GUIContent propertyContent = new GUIContent ( fileName , fileName ) ;
407+ EditorGUILayout . LabelField ( propertyContent , EditorStyles . miniBoldLabel , GUILayout . MinWidth ( PropertyMinWidth ) ) ;
407408 DeleteButton ( Config ) ;
408409 EditorGUILayout . EndHorizontal ( ) ;
409410
@@ -534,7 +535,8 @@ private void PutPropertiesForObject_H<T>(List<T> Configs) where T : ScriptableOb
534535 DeleteButton ( Config ) ;
535536
536537 // Display the file name for the asset
537- EditorGUILayout . LabelField ( fileName , EditorStyles . miniBoldLabel , GUILayout . Width ( 120 ) ) ;
538+ GUIContent propertyContent = new GUIContent ( fileName , fileName ) ;
539+ EditorGUILayout . LabelField ( propertyContent , EditorStyles . miniBoldLabel , GUILayout . Width ( 120 ) ) ;
538540
539541 SerializedObject serializedObject = new ( Config ) ;
540542 SerializedProperty property = serializedObject . GetIterator ( ) ;
You can’t perform that action at this time.
0 commit comments