lucpolak Messages: 18 Registered: April 2008 Location: France
Promising Member
Hello,
I find the source of the problem.
In MenuItem.cpp, when the sub menu is pulled by the SubMenuItem::Pull() function, the point position is always set to the right top corner.
Next, the MenuBar::PopUp(MenuBar.cpp) function is called.
One of the solutions applied to this function is to check is we are in a sub menu and when we need to toogle the menu vertically, we reaffect the y position of base point to submenuitem RightBottom.