Hello,

I am quite new in this area..
My main issue is how to add a close button (x) in the right up corner of the text editor in the same way as this button exists to a dialog etc. I need this button in order to close the text file which is currently displayed in the text editor or just "remove" the content of the text editor.

Thank you in advance.