View Full Version : Menu icons size

15 Jun 2009, 3:50 PM
Hi all,

I saw a thread (forgot to bookmark it) about the possibility in ExtJs 3.0 to have bigger icons than default (16x16). I don't know if the functionality exists, but I would like to get bigger menu item height size to fit my 24x24 icons.

So, before going into the css to try some hacks, is there an easy way to accomplish that?

I tried the iconCls property with no success.

Thanks in advance!

16 Jun 2009, 6:47 AM
Have you looked at the toolbar example, which shows how to use the new icon sizes?

16 Jun 2009, 7:12 AM
No. Could you please post me the link? Thx!

16 Jun 2009, 7:16 AM
It's in your download!!

16 Jun 2009, 7:16 AM
Your own Ext installation directory/examples/toolbar

17 Jun 2009, 5:41 AM
Ok, I looked into the toolbar example and find the option "scale" which I try on a menu item along with iconCls : 'myicon24' , but it changes nothing.

I think I will have to end up modifing some x-menu css class to render the bigger icons properly.

Any ideas?

17 Jun 2009, 5:46 AM
Yes, you will have to add your own CSS overrides.

Pretty easy to find out what by poking a Menu with Firebug.