PDA

View Full Version : How to create a new icon class for tabbar on TabPanel



tierrarara
20 Aug 2011, 5:53 AM
i try to use other icons on tabBar component but
the icon is not displayed,

in the css file only appear a couple classes with x-tab img.XXXX

i would appreciate if you show me how to create a new class for icon in the tabbar
and show the all icons that i can use on tabBar docked buttom

thanks in the advance

fx-mike
22 Aug 2011, 12:32 AM
You will have to set up scss for your project and import the icons you wish to use. Have a look at this tutorial:
http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch

Search for @include pictos-iconmask($name)‚Äč to get to the icon part.