Shape the main layout as a tabbed pane.