Accordion Icon


Is it possible to use a Fontello character as the icon in an accordian tab instead of an resource icon?


As I know Fontello is pure css code with some font files, all you need to do it’s firstly import the css styles and font files in your project, second add the coresponding class to your tabs, maybe something like this will be work:
accordion.getTab(0).setStyleName(“icon-location”); // of course accordion is your Accordion object

Yep - I’m using Fontello in other place in my app - works pefectly.

I tried you suggestion with out any luck. I’m wondering if the accordian tab should have an ‘addStyleName’ method as well, which is what I use to add the Fontello icons to buttons and labels.