Sets the text content.

        Args:
            text (str): The string content that have to be appended as standard child identified by the key 'text'

def set_value(self, text):
        """Sets the text content.

        Args:
            text (str): The string content that have to be appended as standard child identified by the key 'text'
        """
        if self.single_line:
            text = text.replace('\n', '')
        self.set_text(text)