"end" TextEditor session


#1

Hi,

since I can't align the text in a TextEditor, I am using a Label, that when double-clicked "converts" into a (not-aligned) TextEditor.

What would be the best way to end text editing and return to Label display?

Is there a way to end on CR?

Thanks,

raketa


#2

nevermind I overlooked: 

TextEditor::returnPressed()


#3

These are all options in the Label class - e.g. Label::hideEditor()


#4

ah! thanks! that makes it even easier. great!