PDA

View Full Version : How to align button inside buttongroup (ButtonGroup)



daniel_r
3 Apr 2011, 5:17 AM
Hi
I looked at the docs (docs of Class Ext.ButtonGroup)

and found several align property's but non of the works :/

I want to align to center the buttons inside the
xtype: 'buttongroup',




xtype: 'buttongroup',
// title: 'Try some features...',
columns : 1,
items: [
{
text : parent.getMessageFromParent("ExerciseGanttUpperPanelBaseLine"),
scope : this,
enableToggle : true,
pressed : true,
handler : function() {
this.el.toggleClass('sch-ganttpanel-showbaseline');
}
},
................


but no matter what i do, the button is being aligned to the left :/

Thanks Ahead!
D

Daniel.