ImpulseAdventure / GUIslice

GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
https://www.impulseadventure.com/elec/guislice-gui.html
MIT License
1.17k stars 209 forks source link

Feature Request: Multiple line list box items #473

Open RDickens opened 2 years ago

RDickens commented 2 years ago

Feature Request or Enhancement

Would it be possible to have multiple line list box items?

Additional context

Is it possible to get either word wrapping or the ability to add '\n' to a list box item.

I have tried to add a '\n' into the gslc_ElemXListboxAddItem command but it makes no difference and by text is too long for the list box size.

gslc_ElemXListboxAddItem(&m_gui, pElemRef, "On till \nnext change");