def METHOD_NAME(self, h_offset, v_offset):
    rect = self.boundingRect()
    text_rect = self._text_item.boundingRect()
    x = rect.center().x() - (text_rect.width() / 1.5) - 2.0
    y = rect.center().y() - text_rect.height() - 2.0
    self._text_item.setPos(x + h_offset, y + v_offset)