code: def set_widgets(self):
          
          self.tblFunctions1.horizontalHeader().setSectionResizeMode(
              QHeaderView.Stretch)
          self.tblFunctions1.verticalHeader().setSectionResizeMode(
              QHeaderView.Stretch)
  
          self.populate_function_table_1()
docs: Set widgets on the Impact Functions Table 1 tab.