You cannot use menubar as it is quite restrictive and only works with menuitem. You can just use Composite widget with FlowPanel wrapper taking widgets and align & style them in a manner you prefer.
On Tuesday, 6 March 2012 14:29:22 UTC+5:30, Magallo wrote: > > Hi, > I'm just wondering how it's possible to realize a toolbar for my program > that recreates the functionalities of the toolbar present here in google > groups when we write a comment. I'm not referring specifically to the > toolbar for the rich text area, but the toolbar as a generic toolbar that > contains buttons with an image and a tooltip associated, or a combobox to > select something (e.g. in this case the font or the size), or the drop-down > button to select the text background color. In general all the features > present in this toolbar (the toolbar that appears here in google groups > when we write a comment) usable in my GWT project. Is there a way to > recreate it? What is the right technique to recreate it? Should I use the > MenuBar class or something else? > > Ciao. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/fy-xYCalsnEJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.