def METHOD_NAME(self, event):
    """Update resize event to resize overlays and library.
    Args:
        event: The QResizeEvent.
    """
    super().METHOD_NAME(event)
    self._update_overlay_geometry()
    self._library.update_width()