How to create List WIDGET

What do you want to achieve?

List widget that can read the SD file list and select a list item for use.

What have you tried so far?

I tried the Roller but it didn’t work.

Screenshot or video


  • **SquareLine Studio version: 1.2.3
  • **Operating system: Windows 10
  • **Target hardware: ESP32-2432S028

Do you mean drop down?

I have used drop down on SquareLine Studio. Very useful. It is a built in widget in SLS.

Drop-down list (lv_dropdown) — LVGL documentation

1 Like

I want a non-dropdown menu.
The task:
In the given area of the screen (panel), list the file names on the card one below the other. If the list does not fit in the area, it should be scrollable. You can select one from the list for further use.

Check out the the latest example 3D printer interface, 3d_Printer_2, now available in Squareline Studio version v1.3.0.

In the updated 3d_Printer_2.spj project file, you’ll find an enhanced settings menu featuring a scrollable list. This list allows you to navigate through various preference categories, similar to the Settings app on iOS.

To get a visual preview, take a look at the image below:

Please note that the scrollable list is a component within Squareline Studio (SLS) and not a pre-built widget. However, you have the flexibility to copy this component into your own project for seamless implementation.

I have the same problem. I want to list files from an sd card where music can be stored. The files can be uploaded or deleted via a webinterface. Hence the length of the list is variable during run time.

The example from the 3D printer demo seems to be a static solution which can not adapt to the number of files to list but has to be defined in advance.

a bit off topic, but did you succeed to upload a project to that board? im trying to upload a project but the screen stays black. is there any special things i need to mark in the setup.h file?