Reorderable List disregards GUIContent labels?

I would expect the following code to render a list with the label “test”, but it completely disregards the GUIContent and renders it with a label that just says “List” no matter what I do. Other types of properties work like before and respects GUIContent - am I missing something or is it a bug?

var list = property.FindPropertyRelative("list");
EditorGUI.PropertyField(position, list, new GUIContent("test"));

Sounds like a bug. Could you please file a bug report.

1 Like