Hi All
Is there away to have a TAB system in a Widget/s.
Example
Tab 1: Character
Tab 2: Inventory
Tab 3: Spells
Tab 4: Quests
Same as Chrome as IE.
Regards
Hi All
Is there away to have a TAB system in a Widget/s.
Example
Tab 1: Character
Tab 2: Inventory
Tab 3: Spells
Tab 4: Quests
Same as Chrome as IE.
Regards
It’s perfectly possible.
I would do it where I would create the tab content in separate widgets (such as the character, inventory etc.) and then have a tab controller widget which will control the whole thing.
So the separate widgets could then be combined into the tab controller by using them as custom widgets in the sidebar on the left in UMG. You can then just bind the tabs as buttons so that when they are clicked they hide all the other widgets except from the one you want.
You could then also get fancy and create some animations for it to slide in if you really felt like it.
Hopefully that made some kind of sense
The widget switcher is the type of container you’re looking for. It can hold a number of child widgets, and by setting it’s index you set which child is active & visible.
I didn’t even know there was a widget switcher like that.
Yeah use that one instead xD
A widget switcher works great, I currently use one for my character sheet as seen below. I’ve also posted a very basic screen shot of how to use the switcher. Basically for each widget you want to switch between, when you create the widget, add it as a child to the switcher. Then when you click each button set the active widget to whichever you need. Hope this helps a bit.
-Hakabane
Wow,
Cheers and thank you so much.