      def control_frame(self, parent):
          """ Frame to hold control and it's label """
          logger.debug("Build control frame")
          frame = ttk.Frame(parent,
                            name="fr_{}".format(self.option.name),
                            style=f"{self._style}Group.TFrame")
          frame.pack(fill=tk.X)
          logger.debug("Built control frame")
          return frame
  
 
</s> remove             _get_tooltip(lbl, text=self.option.helptext, wrap_length=600)
 </s> add             _get_tooltip(lbl, text=self.option.helptext) </s> remove             _get_tooltip(lbl, text=self.option.helptext, wrap_length=600)
 </s> add             _get_tooltip(lbl, text=self.option.helptext) </s> remove         chosen = colorchooser.askcolor(color=color, title="{} Color".format(title))[1]
 </s> add         chosen = colorchooser.askcolor(color=color, title=f"{title} Color")[1] </s> remove         _get_tooltip(ctl, text=self.option.helptext, wrap_length=600)
 </s> add         _get_tooltip(ctl, text=self.option.helptext) </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"fr_{self.option.name}",
      def control_frame(self, parent):
          """ Frame to hold control and it's label """
          logger.debug("Build control frame")
          frame = ttk.Frame(parent,
                          name=f"fr_{self.option.name}",
                            style=f"{self._style}Group.TFrame")
          frame.pack(fill=tk.X)
          logger.debug("Built control frame")
          return frame
  
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