LVGL Editor v0.2 - Is it possible to switch screens using a button in the LVGL Editor preview?

Hi everyone,

I’m using the LVGL Editor to design my UI and I have a question.

In my project, I have two screens, each defined in separate XML files (home and settings). On the home screen, I created a button that should switch to the settings screen.

In C code, this works fine using lv_scr_load(). But now I’m wondering:

Is it possible to simulate this screen transition directly in the LVGL Editor preview?
I would like to click the button and see the new screen load within the editor preview, without having to compile and run the full project.

If that is not supported, is there any recommended way to test interactions between multiple screens inside the editor?

Thank you in advance for your help.

Hi Paulo,

Thank you for your question. IF everything goes according to the plan we will release v0.3 next week. In this version we will have screen load related XML features. They are already supported in LVGL and it’s being implemented in the editor now.

It will work like this: Screens - LVGL 9.3 documentation

What do you think?

Hi kisvegabor,

Thank you for the quick response! That’s great news! I’m looking forward to trying out version 0.3 and the new screen load-related features in the editor.

From the description and the linked documentation, it seems like it will simplify testing and simulating screen transitions, which is exactly what I was hoping for. I’ll wait for the update and test it as soon as it’s available.

Thank you for the clarification and all the effort you’re putting into the editor!

Best regards,
Paulo

1 Like