8 May 2013 1:08 PM #1
Is there anywhere that shows a complete reference of the characters or names that map to the font/icons in the pictos icon set bundled with ST 2.2
There is a list of all the names in the _Class.scss file and a subset of them can be seen at http://docs.sencha.com/touch/2.2.0/#!/api/Ext.Button but I can't find a complete reference.
I haven't been able to open any of the pictos font files bundled with ST 2.2. Also the character codes aren't sequential so I can't create a quick script to show them all without copy and pasting every name from the _Class.scss file (about 420) and doing it by hand.
How are we supposed to know what icons are available?
10 May 2013 5:56 AM #2
- Join Date
- Mar 2007
- St. Louis, MO
- Vote Rating
We don't have a complete listing anywhere except for looking at the code. The /touch-2.2.0/resources/themes/stylesheets/sencha-touch/base/mixins/_Class.scss and scroll down to find the icon-character-for-name mixing, you will see the long if conditional. Here you can see all the supported names that are the values you should be able to use in the iconCls config.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
14 May 2013 9:17 AM #3
Here's the reference of available icons and the letters they map to in ST 2.2.
To get the names they match to look at the bottom of touch/resources/themes/stylesheets/sencha-touch/base/mixins/_Class.scss