Resizes the widget.

        :param int width:
            The width of the widget.

        :param int height:
            The height of the widget.

def resize(self, width, height):
        """
        Resizes the widget.

        :param int width:
            The width of the widget.

        :param int height:
            The height of the widget.
        """
        self._set_propagation(width, height)
        
        super(Box, self).resize(width, height)