docs: def adjustButtons( self ):
          """
          Updates the position of the buttons based on the current geometry.
          """
          tabbar = self.tabBar()
          tabbar.adjustSize()
          
          w = self.width() - self._optionsButton.width() - 2
          self._optionsButton.move(w, 0)
          
          if self.count():
              need_update = self._addButton.property('alone') != False
              if need_update:
                  self._addButton.setProperty('alone', False)
                  
              
              self._addButton.move(tabbar.width(), 1)
              self._addButton.setFixedHeight(tabbar.height())
          else:
              need_update = self._addButton.property('alone') != True
              if need_update:
                  self._addButton.setProperty('alone', True)
              
              self._addButton.move(tabbar.width() + 2, 1)
          
          self._addButton.stackUnder(self.currentWidget())
          
          # force refresh on the stylesheet (Qt limitation for updates)
          if need_update:
              app = QApplication.instance()
              app.setStyleSheet(app.styleSheet())