I’m trying to achieve the following behavior in Slate to extend the Unreal Editor.
- Open a tab in its own window
- Open a second tab and dock it to the right of the first tab
Every time you open a new tab it docks to the far right of the first tab. Except for the first tab, every new tab is only known at runtime.
I’m using FGlobalTabmanager::Get()->RegisterTabSpawner
to create the new tabs.
After some digging, when a tab is redocked FTabManager::OnTabRelocated
is called but this method is protected so I can’t call it directly. I though of inheriting from FGlobalTabmanager but it won’t work because I need to work on the existing instance.
Anyone knows what’s the correct way to achieve this.
Thank you
Robert