Hi Abhiram, The usage of the MenuBar widget should be as easy as described in the API javadoc (link below). Though I can't really be sure without seeing your code for the MenuBar you're using in your application, you should be using it correctly if you based it from the javadoc example.
MenuBar API doc: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/MenuBar.html <http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/MenuBar.html>How many menu items are you adding to the MenuBar, and how many become directly visible at a time? If you have a large number of menu items to browse through (it would have to be somewhat of an exaggeratedly big number), that could be responsible for the slowdown in the sheer number of DOM elements to render as the user navigates through your application. Hope that helps, -Sumit Chandel On Fri, Jun 5, 2009 at 10:54 AM, abhiram <[email protected]> wrote: > > Hi all, > > I am facing a strange problem. After i load my menu items (its a > combination of horizontal and vertical menu bars), i see that the menu > becomes pretty slow. I tried a sample project where it was pretty > responsive. But in the actual project its very slow. > > Does the menu concept itself work this way or is there something > that can be done for this? > > Regards, > Abhiram > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
