docs: def adjustSize(self):
          """
          Adjusts the size of this wizard and its page contents to the inputed size.
  
          :param      size | <QtCore.QSize>
          """
          super(XOverlayWizard, self).adjustSize()
  
          # adjust the page size
          page_size = self.pageSize()
  
          # resize the current page to the inputed size
          x = (self.width() - page_size.width()) / 2
          y = (self.height() - page_size.height()) / 2
          btn_height = max([btn.height() for btn in self._buttons.values()])
  
          curr_page = self.currentPage()
          for page in self._pages.values():
              page.resize(page_size.width(), page_size.height() - btn_height - 6)
              if page == curr_page:
                  page.move(x, y)
              else:
                  page.move(self.width(), y)
  
          # move the left most buttons
          y += page_size.height() - btn_height
          left_btns = (self._buttons[self.WizardButton.HelpButton], self._buttons[self.WizardButton.BackButton])
          for btn in left_btns:
              if btn.isVisible():
                  btn.move(x, y)
                  btn.raise_()
                  x += btn.width() + 6
  
          # move the right buttons
          x = self.width() - (self.width() - page_size.width()) / 2
          for key in reversed(sorted(self._buttons.keys())):
              btn = self._buttons[key]
              if not btn.isVisible() or btn in left_btns:
                  continue
  
              btn.move(x - btn.width(), y)
              btn.raise_()
              x -= btn.width() + 6