PDA

View Full Version : ExtJS 4.2 add frame to menus with different style than panels



fafche
25 Sep 2013, 10:49 AM
I would like to add a frame to my menu so I could use border radius, but I do not want to derive the frame background color from the definition of my panels.
As I see it now the frame can only be defined on the panel level and the menu inherits this definition.
Can it be done?

ettavolt
27 Sep 2013, 11:54 AM
'Simply' create (http://docs.sencha.com/extjs/4.2.1/#!/guide/theming) your own ui (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.AbstractComponent-cfg-ui). :)

fafche
27 Sep 2013, 9:44 PM
I want it to apply all menus and not just menus that were past a ui config.

ettavolt
30 Sep 2013, 4:33 AM
You can change default UI with override/Ext.menu.Menu.prototype manipulation.