neu-rah / ArduinoMenu

Arduino generic menu/interactivity system
GNU Lesser General Public License v2.1
934 stars 189 forks source link

Structure elements #249

Open Ulli2k opened 5 years ago

Ulli2k commented 5 years ago

Is it possible to add a header / structure elements? I want to have it look like

menu header
------
 >field
   submenu
   ....
------
menu footer
neu-rah commented 5 years ago

yes, that's the role of this library, what board/mcu and IO are you using?

code examples here: https://github.com/neu-rah/ArduinoMenu/tree/master/examples

videos on main page with menu examples.

Ulli2k commented 5 years ago

I am using a ESP32. I already saw the examples. But I did not find å way to add headlines. Or å horizontal separation line.

I just want to customize the Look.

neu-rah commented 5 years ago

ahh, ok you can limit the area of the menu on the output device, by changing the panel coordinates... trimming the right side of text might be disabled on some devices (like u8g2 displays) so, one has ro make sure text fits the space.

a good principle to face this issues would be variable height options, current version uses only lines and work with device coordinates instead of text grids as the current menu version does

as a general principle things that are hardware specific or require some special capabilities are implemented as plugins, so that the base objects are supported by all devices including simple text output (monitor, console, printer).

developement discussions also here: https://gitter.im/ArduinoMenu/Lobby

thanks for the interest https://gitter.im/ArduinoMenu/Lobby