I love the new ButtonGroup from ExtJS 3.0 RCs. But i more likely prefer to have the title at the bottom, like in the Ribbon Control of MS Office. So i looked around and came up with some CSS to style the ButtonGroup just like the real Ribbon one with a title at the bottom and want to share this with the world ^^
Just add the following css to your project.
Code:
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-bc {
/* Set this path to your environment! */
background-image: url(assets/images/group-bt.gif);
}
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-footer .xtb-text {
color: #3E6AAA;
padding: 0;
}
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-footer,
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-footer .x-panel-btns,
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-footer .x-panel-btns td.x-toolbar-cell {
padding: 0;
}
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-footer .x-panel-btns-right .x-panel-fbar {
float: none;
}
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-footer .x-panel-btns .x-toolbar-left table {
margin: 0 auto;
}
/* FIXES FOR IE: */
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-footer .x-panel-btns.x-panel-btns-right .x-clear {
font: 0 sans-serif;
}
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-footer .x-panel-btns .x-toolbar-left {
text-align: center;
}
.x-btn-group.x-btn-group-ribbonstyle .x-btn-group-tc {
vertical-align: top;
}
and add the image from the attachment.
Now create a ButtonGroup with the cls-configuration 'x-btn-group-ribbonstyle'. Then drop the title configuration and use fbar instead. The result is something like:
Code:
new Ext.ButtonGroup({
cls: 'x-btn-group-ribbonstyle',
fbar: ['YourTitleHere']
});
And you get something like this:

Hope its also working for you 