IMGUI fancy foldout Layout
laurentopia opened this issue · 4 comments
laurentopia commented
TylerTemp commented
Not supported yet.
But I'm not planning to do it either, cuz the best way is, maybe just change the outlook of foldout group in IMGUI, into the style of UI Toolkit, then most confusing will be gone.
But still, IMGUI is not a primary target for this project: the IMGUI support is only "it works in IMGUI".
So I'll put this feature much later
TylerTemp commented
Hi @laurentopia
Please check 3.2.6 which improved the foldout
look in IMGUI, which looks completely different from the default foldout. Remember to use FoldoutBox
instead of Foldout
[Serializable]
public struct MyStruct
{
public string myField;
}
public MyStruct foldoutAbove;
[Layout("Test", ELayout.FoldoutBox)] public string testBg;
public MyStruct foldoutBelow;
laurentopia commented
but do they nest? ;)
TylerTemp commented
but do they nest? ;)