Window/Tab layout resizing on window creation