How can I make all toolbar buttons look like regular buttons? I tried using the Standout property but the buttons loose their hover over effect.
Printable View
How can I make all toolbar buttons look like regular buttons? I tried using the Standout property but the buttons loose their hover over effect.
Hi @jchau,
This override does the job.
The original onBeforeAdd is here.Code:Ext.toolbar.Toolbar.override({
onBeforeAdd: function (component) {
var me = this;
if (component instanceof Ext.toolbar.Separator) {
component.setUI((me.vertical) ? 'vertical' : 'horizontal');
}
me.callSuper(arguments);
}
});