Alchemy
Alchemy copied to clipboard
TabGroups don't indent arrays, lists etc properly.
List (and array, and dictionary etc) foldouts don't get indented properly inside TabGroups. Had a quick look into it, but I'm not good with the UIElements stuff so couldn't figure it out. Lists with foldouts inside FoldoutGroups do indent correctly.
Test case here:
using UnityEngine;
using Alchemy.Inspector;
public class Oops : MonoBehaviour
{
[SerializeField] string[] goodStrings = { "foo", "bar" };
[SerializeField, TabGroup("Bad Zone")] string[] badStrings = { "boo", "far" };
[SerializeField, TabGroup("Another Tab"), ListViewSettings(ShowFoldoutHeader = false)] string[] fineStrings = { "fixed without the foldout via ListViewSettings", "goo", "tar" };
[SerializeField, FoldoutGroup("Foldouts are okay")] string[] goodStrings2 = { "foo", "bar" };
}