-
9 Mar 2012 2:50 AM #1
Answered: How to use Pictos icons
Answered: How to use Pictos icons
Hi,
I don't quite understand how to implement the sass and mixin. I wanted to use the icons in pictos folder for buttons but just couldn't find a way to do it. Please help. thanks.
-
Best Answer Posted by vroon
See the documentation: http://docs.sencha.com/touch/2-0/#!/guide/theming
Add to your scss something like the following:
Recompile using compass.PHP Code:@include pictos-iconmask('heart_circle');
Now you use this icon, for example:
PHP Code:......
Ext.create('Ext.tab.Panel',{
fullscreen: true,
tabBarPosition: 'bottom',
items:[{
title: 'Health',
iconCls: 'heart_circle',
xtype: 'healthview'
},
......
],
....
}
.....
-
9 Mar 2012 4:02 AM #2
See the documentation: http://docs.sencha.com/touch/2-0/#!/guide/theming
Add to your scss something like the following:
Recompile using compass.PHP Code:@include pictos-iconmask('heart_circle');
Now you use this icon, for example:
PHP Code:......
Ext.create('Ext.tab.Panel',{
fullscreen: true,
tabBarPosition: 'bottom',
items:[{
title: 'Health',
iconCls: 'heart_circle',
xtype: 'healthview'
},
......
],
....
}
.....


Reply With Quote