def METHOD_NAME(self, event):
    super().METHOD_NAME(event)
    panel = QStyleOptionFrame()
    self.initStyleOption(panel)
    textRect = self.style().subElementRect(QStyle.SE_LineEditContents, panel, self)
    textRect.adjust(2, 0, -10, 0)
    painter = QPainter(self)
    painter.setPen(ColorScheme.GRAY.as_color())
    painter.drawText(textRect, int(Qt.AlignRight | Qt.AlignVCenter), "height")