

def on_resize(self, width, height):
    super(TestWindow, self).on_resize(width, self)
    self.layout.begin_update()
    self.layout.x = self.margin
    self.layout.y = self.margin
    self.layout.width = (width - (self.margin * 2))
    self.layout.height = (height - (self.margin * 2))
    self.layout.end_update()

dataset/ETHPy150Open ardekantur/pyglet/tests/text/HTML.py TestWindow.on_resize/VarMisuse@25/29 `height`->`self`