def METHOD_NAME(self) -> None:
    """Add a spacer widget."""
    spacer = QWidget(self)
    spacer.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Fixed)
    spacer.setFixedHeight(self._spacerHeight)
    self.insertWidget(self._stretchAction, spacer)
    return