def METHOD_NAME(self):
    width_candidates = [
        self.HORIZONTAL_PADDING * 2 + len(self._label_str) * self._config.symexec_font_width,
        self.HORIZONTAL_PADDING * 2 + len(self._function_str) * self._config.symexec_font_width,
    ]
    height_candidates = [0]
    self._width = max(width_candidates)
    self._height = max(height_candidates)
    self._width = max(100, self._width)
    self._height = max(50, self._height)