-
is there a way to change CentralPanel? Example, the app has 3 menus, Main Menu, Settings menu, and Info menu, the CentralPanel will be in Main Menu, then with a button click it changes the CentralPanel to Settings or Info menu, or is there not a way right now |
Beta Was this translation helpful? Give feedback.
Answered by
RaphielHS
Apr 10, 2024
Replies: 1 comment
-
Found the solution by adding a Menuindex variable on the struct, and changing the index with ui.button(...).clicked() check, and using a match statement |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RaphielHS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found the solution by adding a Menuindex variable on the struct, and changing the index with ui.button(...).clicked() check, and using a match statement