          background = self._background
          pad = self._pad
          widget = self._widget
  
          # creates a toplevel window
          self._topwidget = tk.Toplevel(widget)
          if platform.system() == "Darwin":
              # For Mac OS
              self._topwidget.tk.call("::tk::unsupported::MacWindowStyle",
                                      "style", self._topwidget._w,  # pylint:disable=protected-access
 
</s> remove                 # A further mod might auto-magically augment the
                # wraplength when the tooltip is too high to be
                # kept inside the screen.
 </s> add                 # A further mod might auto-magically augment the wrap length when the tooltip is
                # too high to be kept inside the screen. </s> remove         self.normalize_method = normalize_method
 </s> add         self._normalize_method = None
        self.set_normalize_method(normalize_method) </s> remove         scaling_factor = get_config().scaling_factor if get_config() is not None else 1.0
        x_offset = int(34 * scaling_factor)
        self._widget.bind(button,
                          lambda event: self.tk_popup(event.x_root + x_offset, event.y_root, 0))
 </s> add         self._widget.bind(button, lambda event: self.tk_popup(event.x_root, event.y_root)) </s> remove         self.parent = parent
        self.columns = min(columns, self.max_columns)
 </s> add  </s> remove     def __init__(self, parent, columns):
        logger.debug("Initializing: %s: (parent: %s, columns: %s)", self.__class__.__name__,
                     parent, columns)
        self.max_columns = 4
 </s> add     def __init__(self, parent, initial_columns, max_columns):
        logger.debug("Initializing: %s: (parent: %s, initial_columns: %s, max_columns: %s)",
                     self.__class__.__name__, parent, initial_columns, max_columns)
        self.max_columns = max_columns
        self.columns = initial_columns
        self.parent = parent
#        self.columns = min(columns, self.max_columns)
        # Creates a top level window
          background = self._background
          pad = self._pad
          widget = self._widget
  
        # Creates a top level window
          self._topwidget = tk.Toplevel(widget)
          if platform.system() == "Darwin":
              # For Mac OS
              self._topwidget.tk.call("::tk::unsupported::MacWindowStyle",
                                      "style", self._topwidget._w,  # pylint:disable=protected-access
keep keep keep keep replace keep keep keep keep keep
 Core updates (#982)

* plugins.extract.align
  - Expose normalization method

* lib.gui core updates
  - Minor updates to support future development. 
lib/gui/custom_widgets.py