def METHOD_NAME(self, index):
    translation, strokes = self._format_suggestion(index)
    size = QFontMetrics(self.text_font).size(0, translation)
    if strokes is not None:
        size += QFontMetrics(self.strokes_font).size(0, strokes)
    return size