widgets are now added to the right tab if the tab is detached from the main window

Signed-off-by: nuss <st9fan@gmail.com>