code: def resizeEvent(self, event):
          
          super(XTabBar, self).resizeEvent(event)
          self.resized.emit()
docs: Updates the position of the additional buttons when this widget \
          resizes.
          
          :param      event | <QResizeEvet>