Text printed with "Back" menu item #430
Unanswered
jeroen94704
asked this question in
Q&A
Replies: 1 comment 3 replies
-
I mean I've never really considered this much, you can override the rendering of the back menu, but effectively the back menu from a theme perspective is just a title menu. Overriding how particular elements are drawn is documented here https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/themes/rendering-with-themes-icons-grids/ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just found out about tcmenu and so far I'm very happy with it!
One question I have is about the "Back" menu item that is silently added to submenu's. The documentation states this item will display as "[Back..]". However, in my menu it is displayed as "<NAME OF THE SUBMENU> [..]". Looking at the code this seems to be controlled by the RenderFnMode parameter passed into "backSubItemRenderFn" in RuntimeMenuItem.cpp. If this has the value "RENDERFN_NAME" it will construct the string as I see it. I would like the behavior as implemented by RENDERFN_VALUE, which would simply display "[..]". It is easy to change this in code, of course, but this all seems very deliberate, so I what is the proper way to change this?
Thanks in advance!
Jeroen
Beta Was this translation helpful? Give feedback.
All reactions