Hi Team

I have a small problem with tableview.
The problem I have is that the QT designer view and the actual application view differ (as shown in the in the pic below).
The table is somehow split in two columns, but when populating all data appears on the left side, including scroll bars.
After import of my data, these views stay the same. My data appears in the left field (with scroll adjuster) whilst the right field stays blank.

Screenshot 2021-02-17 130417.jpg
Does anybody know what setting may need to change in QTdesigner (or in my code) to resolve this?

Qt Code:
  1. from PyQt5 import QtCore, QtWidgets, uic
  2. from PyQt5.QtCore import Qt
  3. from PyQt5.QtGui import *
  4. from PyQt5.QtWidgets import (qApp, QComboBox, QMainWindow, QApplication, QMessageBox, QFileDialog)
  6. #define class
  7. class Bathyui(QtWidgets.QDialog):
  8. def __init__(self, parent=None):
  9. super(Bathyui, self).__init__(parent)
  10. uic.loadUi('Open_File_UWN_Model.ui', self)
  12. #connect to widget
  13. self.table = QtWidgets.QTableView(self.tableView)
  15. #populate with dataframe
  16. self.table.setModel(file_reader)
To copy to clipboard, switch view to plain text mode 

Below the .ui code

Im a littlebit lost how to solve this. I pretty much hit every setting in the QT Designer formatting menu