View Full Version : button class, default look

24 Jan 2012, 9:08 AM
I prefer the button look when the mouse is 'over' and want to set that as the default. In ext 3 I set the ctCls:"x-btn-over" in the button properties.

Is there something as simple in ext 4?

24 Jan 2012, 9:14 AM
Is this relative to the toolbar?

24 Jan 2012, 10:32 AM
If referring to a button in a Toolbar, it looks like CSS class .x-btn-default-toolbar-small-over is what you want. I think you'll have to create a custom style which wraps this class, otherwise, the mouseout event removes the style.

24 Jan 2012, 12:11 PM
yes this is in relation to the toolbar.