def resizeEvent(self, e):
        if not self.fitToWindow:
            return

        thickness = StandardWidgetHeaderView.THICKNESS
        self.horizontalHeader()._target_size = thickness - self.size().width()
        self.horizontalHeader().resize_right_rows(0)
        self.verticalHeader()._target_size = self.size().height() - thickness
        self.verticalHeader().resize_right_rows(0)
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/packages/spreadsheet/spreadsheet_sheet.py/StandardWidgetSheet.resizeEvent/swapped operands of `-`