Add default spacing for CollectionEditor to 10 for cleaner UI when working with arrays and lists in Editor
This commit is contained in:
@@ -116,7 +116,7 @@ namespace FlaxEditor.CustomEditors.Editors
|
||||
// Try get CollectionAttribute for collection editor meta
|
||||
var attributes = Values.GetAttributes();
|
||||
Type overrideEditorType = null;
|
||||
float spacing = 0.0f;
|
||||
float spacing = 10.0f;
|
||||
var collection = (CollectionAttribute)attributes?.FirstOrDefault(x => x is CollectionAttribute);
|
||||
if (collection != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user