Screenshot

It is required to duplicate, by pressing the button, this panel. What is going to happen:

  1. 2 textBox are filled (in the first - the title, in the second - the text of the note)
  2. When you click on the "Add Note" button, a copy of the panel with elements from the screenshot is created.
  3. The title and text are inserted into the "note".

"Note" automatically adjusts to the text (expands or contracts, depending on the amount of text).

I was looking for information on the Internet, but I didn’t find anything like it (maybe I formulated it incorrectly, or some other problem)

P.S. If you have a better idea - please suggest, I am open to new ideas!

0 Answers