revert onResize hacks as onResize is Qt only

Signed-off-by: nuss <st9fan@gmail.com>
widgets in detached tabs do now regroup upon resizing the window

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