      def set_subframes(self):
          """ Set a sub-frame for each possible column """
          subframes = []
          for idx in range(self.max_columns):
              name = "af_subframe_{}".format(idx)
              subframe = ttk.Frame(self.parent, name=name, style=f"{self._style}TFrame")
              if idx < self.columns:
                  # Only pack visible columns
                  subframe.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N, expand=True, fill=tk.X)
              subframes.append(subframe)
 
</s> remove         for idx, model in enumerate(get_all_sub_models(self._model)):
 </s> add         for idx, model in enumerate(get_all_sub_models(self.model)): </s> remove         if len(self._model.output_names) == len(set(self._model.output_names)):
            logger.debug("Output names are unique, not rewriting: %s", self._model.output_names)
 </s> add         if len(self.model.output_names) == len(set(self.model.output_names)):
            logger.debug("Output names are unique, not rewriting: %s", self.model.output_names) </s> remove         seen = {name: 0 for name in set(self._model.output_names)}
 </s> add         seen = {name: 0 for name in set(self.model.output_names)} </s> remove         for name in self._model.output_names:
 </s> add         for name in self.model.output_names: </s> remove                                                   "text_variable": text_variable,
                                                  "wrap_length": wrap_length}
    logger.debug("Adding to tooltips dict: (widget: %s. text: '%s', wrap_length: %s)",
                 widget, text, wrap_length)
 </s> add                                                   "text_variable": text_variable}
    logger.debug("Adding to tooltips dict: (widget: %s. text: '%s')", widget, text)

    wrap_length = 400
    if text is not None:
        while True:
            if len(text) < wrap_length * 5:
                break
            if wrap_length > 720:
                break
            wrap_length = int(wrap_length * 1.10)

            name = f"af_subframe_{idx}"
      def set_subframes(self):
          """ Set a sub-frame for each possible column """
          subframes = []
          for idx in range(self.max_columns):
            name = f"af_subframe_{idx}"
              subframe = ttk.Frame(self.parent, name=name, style=f"{self._style}TFrame")
              if idx < self.columns:
                  # Only pack visible columns
                  subframe.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N, expand=True, fill=tk.X)
              subframes.append(subframe)
keep keep keep keep replace keep keep keep keep keep
 Core updates
   - Change loss loading mechanism
   - Autosize tooltips based on content size
   - Random linting + code modernisation 
lib/gui/control_helper.py