code: def setSceneRect( self, *args ):
          
          h = self.height()
          super(XCalendarScene, self).setSceneRect(*args)
          if ( self.currentMode() != XCalendarScene.Mode.Month ):
              rect = self.sceneRect()
              rect.setHeight(h)
              super(XCalendarScene, self).setSceneRect(rect)
          
          self.markForRebuild()
docs: Updates the scene rect for this item.
          
          :param      *args