Should be called every time window is resized
        so the example can adapt to the new size if needed

def resize(self, width, height):
        """
        Should be called every time window is resized
        so the example can adapt to the new size if needed
        """
        if self.example:
            self.example.resize(width, height)