On Wed, Dec 26, 2012 at 7:57 PM, James Paige <b...@hamsterrepublic.com> wrote: > On Wed, Dec 26, 2012 at 07:53:33PM -0800, James Paige wrote: >> On Wed, Dec 26, 2012 at 07:52:10PM -0800, subvers...@hamsterrepublic.com >> wrote: >> > james >> > 2012-12-26 19:52:10 -0800 (Wed, 26 Dec 2012) >> > 99 >> > Fix menu vertical sizing when using .itemspacing and the menu grows big >> > enough to have a scrollbar >> > --- >> >> It looks like menus mess up visually if they grow too long and there is >> no .maxrows set. So "default" for .maxrows is apparently nonsense :( > > Actually, thinking about that more, I think I descibed that totally > wrong. > > The default for .maxrows is no default. The menu can grow as big as it > wants, off the screen. That part makes sense. > > The problem is, when a menu grows off the bottom of the screen, the > lower menu items start getting cropped, and that is the bug.
The problem is that in: SUB init_menu_state (byref state as MenuState, menu as MenuDef) the state.size gets set wrong when menu.maxrows = 0 but I am too confused right now to know what the correct value is. Maybe I will be able to make sense of it after some sleep :) --- James _______________________________________________ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org