def _set_scroll_height(self, height):
        """ Sets the maximum scroll height in the content frame """
        self._scroll_height = height
        self._content_frame["canvasSize"] = (0, self._width - 80, 0, self._scroll_height)
        self._content_node.set_z(self._scroll_height)
 Sets the maximum scroll height in the content frame 
metadrive/render_pipeline/rpcore/gui/buffer_viewer.py