def re_layout(self):
        self.layout()
        # when we layout, we ask the parent also re_layout since
        # a scrollbar defines the content region.
        if self._scrolled > 2:
            self.parent.layout()
            self._scrolled = 0
dataset/ETHPy150Open jorgecarleitao/pyglet-gui/pyglet_gui/scrollbars.py/ScrollBar.re_layout/original