Hello.
In all versions of emWin until 5.46 (including) the functionality of MENU widget was realized in following way:
If to the root menu are added some hierarchical levels of submenus (for example, the depth of hierarchy is 5 of even more), then all nested submenus, beginning from third level, are placing on the screen overlapped previous submenu level. This gives a good and useful possibility to make many-level hierarchical tree of menu, where all its submenus are placed on the screen with full access to each item of each submenu (see picture 1).
But since version 5.48 this "overlapping" behaviour was changed to "side-by-side" placement behaviour. It makes impossible to create menus with depth of hierarchy more than 3 or 4. All next levels are placed out of screen on its right side (see picture 2).
Could you please return previous behaviour of menu widget, or to give possibility to choose one of two ways - as new one as well as old one.
But even better way is to realize possibility to place manually (through x0, y0 parameters in MENU_CreateEx) of every submenu area according its parent submenu, where this parent submenu could be also given to this function as its already existing parameter "hParent".
In all versions of emWin until 5.46 (including) the functionality of MENU widget was realized in following way:
If to the root menu are added some hierarchical levels of submenus (for example, the depth of hierarchy is 5 of even more), then all nested submenus, beginning from third level, are placing on the screen overlapped previous submenu level. This gives a good and useful possibility to make many-level hierarchical tree of menu, where all its submenus are placed on the screen with full access to each item of each submenu (see picture 1).
But since version 5.48 this "overlapping" behaviour was changed to "side-by-side" placement behaviour. It makes impossible to create menus with depth of hierarchy more than 3 or 4. All next levels are placed out of screen on its right side (see picture 2).
Could you please return previous behaviour of menu widget, or to give possibility to choose one of two ways - as new one as well as old one.
But even better way is to realize possibility to place manually (through x0, y0 parameters in MENU_CreateEx) of every submenu area according its parent submenu, where this parent submenu could be also given to this function as its already existing parameter "hParent".
Best regards,
Volodymyr.
Volodymyr.
The post was edited 6 times, last by volodymyr ().