Making a proper tab control?
Closed this issue · 6 comments
WonderedWhy commented
How would I make a proper tab control?
What I want to do is take WindowX / TabAmount for the area, but have it create TabAmount of tabs.
How do I go about this?
kwilcz commented
Will add in a future.
AnonVodka commented
Im not really familar with the Menu Framework, but how would you update the content of the child when switching tabs. I did my tabs like in imgui, where i change the value of an integer and depending on what the integer value is i draw diffrent stuff.
kwilcz commented
you just call Render for the tab children. If you set it as some kind of bool, you need to add some kind of TabID for your sections which will then render & gather info only if the TabID is active.
WonderedWhy commented
bump
Aethstetic commented
you already got your answer?