Best Way To Create Tabbed Menu With UMG

Hello,

I have been trying to create a tabbed menu for a while. I achieved that easily by removing and creating another widget, but it also removes the variables I sent from LevelBP. So, I am thinking about creating all layouts inside one Widget and changing their Z-Order respectively.

Here is my question:

  1. How can I use Set ZOrder? Unreal Documentation about this is pretty empty for me. If only I can add my different Borders as target…
  2. Is there a better way to achieve this? I mean, without losing variables (not removing the widget it seems)

Thank you so much for your time!

I just found a post from UE Developer. It seems like they are still working on Reordering. So, no other way to fix my problem?

Source:

For a Tabbed Menu I would recommend you to use the “Widget Switcher” Panel, it’s really simple. The ZOrder decides which Item is rendered below or on top each other, nothing less or more. You would have to wrap your Items with any panel of your likings and parent it to the canvas. However neither ZOrder or removing Widget Blueprints from the Viewport is a good Idea for displaying content within one Menu. For a Tabmenu you should just use the Widget Switcher, for everything else “Set Visibility” - hide things you don’t want to see/interact and make them visible again whenever you want.

Well, I have no idea how I missed Widget Switcher on the palette. It makes perfect sense! Thank you so much