Creating the tab widget.