Register / Login  |  Desktop view  |  Jump to bottom of page

tcMenu Arduinio library » [Back] menu item

Author: dsap4004
30/04/2019 22:30:48
The back menu item in sub menus currently takes me back to the top of the entire tree instead of the top of the parent sub menu. Is this something unique to my setup or is it a feature that doesn't exist yet?

Author: davetcc
01/05/2019 12:21:12
This is actually a bug that's is mainly already fixed in the next version, 1.3.1. I'd already fixed it in the display renderer while working on the extended ESP8266 support, but not got around to creating the issue for it yet. Just created now.

See https://github.com/davetcc/tcMenuLib/issues/15

Thanks,
Dave.

Author: dsap4004
01/05/2019 13:52:18
Okay, just making sure I didn't screw something up. My screen space is limited on a 16x2 display so I changed the forward and back indicators in the library to little arrows. "?" "?"

Author: davetcc
03/05/2019 07:17:36
So in version 1.3.1 there will be a configurable limit of the number levels supported in the menu structure. This is because many places use a non-recursive way of handling menu items.

The default setup would allow up to 4 levels away from root. For example:

Settings
  +--- Sub Settings I
     +--Sub Sub Settings
         +-- Sub Sub Sub
               +--- Sub Sub Sub Sub


It will be easily re-defined by opening file
MenuIterator.h
and changing the value
MAX_MENU_DEPTH
to a new value (obviously at the expense of a little memory).

Author: dsap4004
03/05/2019 13:25:59
I only use 2 layers at max if you don't count menu items so that will work perfectly.

Author: davetcc
08/05/2019 21:20:29
1.3.1 now has the ability to set the depth required - defaulting to 4.




Register / Login  |  Desktop view  |  Jump to top of page