Home › Forums › General XMetaL Discussion › is there a limitation on the context menu? XMeatL 7 › Reply To: is there a limitation on the context menu? XMeatL 7
Reply to: is there a limitation on the context menu? XMeatL 7June 24, 2015 at 11:06 pm
There may be some ultimate limit, but I think it would be way beyond anything usable in a good UI.
I have tested context menus that list hundreds of items. See this demo (the total number of items displayed in this case depends on the current DTD and limitations in how the macro is written, not the context menu, limit it to 100 items): http://forums.xmetal.com/index.php/topic,738.0.html
Large lists of options can be difficult to use, so in general I would try to keep them to a “reasonable” number that would fit your “standard” user's screen dimensions to avoid displaying a scroll arrow (an up or down arrow at the top or bottom of the current section of the context menu when it contains too many items to fit the screen dimensions).
I'm also attaching a screen capture showing the context menus that are created through script for the DITA authoring solution included with XMetaL Author Enterprise. The largest section exceeds what you are describing (which leads me to believe there is some kind of scripting error going on in your case). It shows the context menu expanded to three levels with the last level containing 25 items.