Create pop-up with text area (and buttons)

What MCU/Processor/Board and compiler are you using?

Raspberry PI 4 with Raspberry OS and GCC 8.3.0

What LVGL version are you using?


What do you want to achieve?

I would like to create a modal popup box with a text area and confirm/cancel buttons (the text area should also enable a popup touch keyboard)

What have you tried so far?

I studied the Message Box widget, but does not seem to accept a Text Area: only a ButtonMatrix, so no way to enter text

I’d suggest starting with the modal message box example, but instead of using a message box, create your own object with the necessary text area and buttons on it.

When you say “create your own object”, you mean a Container, a Window, a Canvas… or…?

Which widget would be most appropriate?


A container would probably be the most useful in this case.

1 Like