ReorderableListAttribute visual bug
uurha opened this issue · 6 comments
Hello,
it's supposed to look like that. The old, default ReorderableList does not have size property at all. Honestly, I like the current version and see no reason why this should be changed. Is it too small for you or do you have too many items and the field is too small?
Hello)
Yes, numbers with three digits are not visible. And in case of 10+ items collapse control needed because it's need to scroll much.
May be it's possible to make some settings in EditorToolBoxSettings to display size and collapse controls same as Unity default style?
You can make ReorderableList collapsible just like that:
[ReorderableList(ListStyle.Round, elementLabel: "GameObject", Foldable = true)]
Anyway, I suggest not using ReorderableListAttribute for larger collections, a much better option is using ScrollableItemsAttribute for this use case.
About the size property - I will resize the related field depending on the current items count.
You can make ReorderableList collapsible just like that:
[ReorderableList(ListStyle.Round, elementLabel: "GameObject", Foldable = true)]
Anyway, I suggest not using ReorderableListAttribute for larger collections, a much better option is using ScrollableItemsAttribute for this use case.
Oh, thanks for explaining. I thought that ScrollableItemsAttribute for other purposes.
About the size property - I will resize the related field depending on the current items count.
Thanks a lot <3