Page 1 of 1

Context menu.

Posted: Mon Mar 17, 2008 12:45 pm
by Chmel_Tolstiy
I need a context menu with large depth of submenu.
for example DIR_1->DIR_2->DIR_3->DIR_4->DIR_5->ITEM

Problem with drawing of this structure.

In "windows" when submenu goes out of window it draws on other side of parent submenu but in irrlicht doesn't. Is it a bug ?

Posted: Mon Mar 17, 2008 2:28 pm
by Bob Finnie
Probably not a bug but more of an unforseen circumstance.

I guess the best way round it is to modify the GUI rendering code to check the bounding box of your GUI as you draw it and reposition the elements accordingly if it is wider than the screen width.

Hope this helps