def setHeightAndWidth(self):
        frameWidth = self.tabWin.winfo_width()
        frameHeight = self.tabWin.winfo_height()
        self.table.config(maxheight=frameHeight-self.viewFrame.horizontalScrollbarHeight,
                          maxwidth=frameWidth-self.viewFrame.verticalScrollbarWidth)
dataset/ETHPy150Open Arelle/Arelle/arelle/ViewWinTkTable.py/ViewTkTable.setHeightAndWidth/original