Recently, I am making my own asset’s editor, and it will use DocumentTab, just like the implementation of behavior tree in UE4. But soon i faced an annoying problem that the DocumentTab doesn’t follow the layout, it will just create a new area out of the editor, not be embedded into the editor. So I track the source code for a while and I find out that the ID of tab is hardcoded “Document” in the insert and restore operation of DoucmentTabs.(see FDocumentTracker::OpenNewTab()).
So my question is why, or if i have some misunderstanding of DocumentTab.