                          anchor=tk.W,
                          style=f"{self._style}Group.TLabel")
          lbl.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N)
          if self.option.helptext is not None:
              _get_tooltip(lbl, text=self.option.helptext, wrap_length=600)
          logger.debug("Built control label: (widget: '%s', title: '%s'",
                       self.option.name, self.option.title)
  
      def build_one_control(self):
          """ Build and place the option controls """
 
</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(ctl, text=self.option.helptext, wrap_length=600)
 </s> add         _get_tooltip(ctl, text=self.option.helptext) </s> remove                 tooltip_kwargs = dict(text=self.option.helptext, wrap_length=600)
 </s> add                 tooltip_kwargs = dict(text=self.option.helptext) </s> remove                           name="fr_{}".format(self.option.name),
 </s> add                           name=f"fr_{self.option.name}", </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)

            _get_tooltip(lbl, text=self.option.helptext)
                          anchor=tk.W,
                          style=f"{self._style}Group.TLabel")
          lbl.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N)
          if self.option.helptext is not None:
            _get_tooltip(lbl, text=self.option.helptext)
          logger.debug("Built control label: (widget: '%s', title: '%s'",
                       self.option.name, self.option.title)
  
      def build_one_control(self):
          """ Build and place the option controls """
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