Closed CommanderRedYT closed 2 years ago
virtual bool visible() const { return true; }
to MenuItem or introduce a new VisibleInterfacecontinue;
whenever a menuitem is not visible, which should result in correct delta rendering with my existing Label widgets.What if its already been drawn? Will it clear the space? Or is it constant and not changeable? Also for the scroll behavior, should there be a option to skip the element as if it was not there or should it be selectable like the current empty-text menu items.
Will open a pull request, also, with a new Class so one can just type
espgui::constructMenuItem<espgui::Empty item>();
(Name tbd)
A MenuItem that acts like an empty one but skips (so just for design)