def set_width(self, width):
        self.width = width
        self.button.set_size_request(width, -1)
        self.button.queue_resize()
        self.entry.set_size_request(width, -1)
        self.entry.queue_resize()