Google Groups like toolbar in GWT

118 views
Skip to first unread message

Magallo

unread,
Mar 6, 2012, 3:59:22 AM3/6/12
to google-we...@googlegroups.com
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.

Sachin Shekhar R

unread,
Mar 6, 2012, 11:17:25 AM3/6/12
to google-we...@googlegroups.com
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.

Magallo

unread,
Apr 17, 2012, 7:07:50 AM4/17/12
to google-we...@googlegroups.com
Ok, I see. Thank. I just found this and I think it's interesenting. I want to share with all of you.

http://blog.elitecoderz.net/gwt-toolbar-for-richtextarea-a-richtexttoolbar-with-html-editor/2010/02/
Reply all
Reply to author
Forward
0 new messages