O'Reilly logo

ExtGWT Rich Internet Application Cookbook by Odili Charles Opute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Crafting multi-column buttons in ToolBar

I am a not a huge fan of Microsoft but I love the new tab and toolbar styles in the recent incarnate of their popular office suite. It's such a delight that these beautiful UI structures have found their way into the web, courtesy of the innovation of APIs such as GXT. Now you can have a toolbar that departs from the norm of being a plain horizontal strip of humdrum buttons that's maybe spiced up a little with 16 X 16 icons, to one that can have a group labeled, say File, with all the (or most plausible) File buttons placed within it, and have some of those buttons rendered in a fashion that accentuates their importance (or usefulness) over others in the same group.

How to do it...

Apart from using ButtonGroup ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required