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
403
403
404
404
// Display the file name and a delete button for the asset
405
405
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 ) ) ;
407
408
DeleteButton ( Config ) ;
408
409
EditorGUILayout . EndHorizontal ( ) ;
409
410
@@ -534,7 +535,8 @@ private void PutPropertiesForObject_H<T>(List<T> Configs) where T : ScriptableOb
534
535
DeleteButton ( Config ) ;
535
536
536
537
// 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 ) ) ;
538
540
539
541
SerializedObject serializedObject = new ( Config ) ;
540
542
SerializedProperty property = serializedObject . GetIterator ( ) ;
You can’t perform that action at this time.
0 commit comments