-
9 Jul 2009 3:37 PM #1Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 29
Ext.ux.TDGi.icons <-- repackaged famfamfam silk icon set!
Ext.ux.TDGi.icons <-- repackaged famfamfam silk icon set!
Just an update, this thing works with Ext 3.0
original page: http://tdg-i.com/52/tdgiiconmgr-and-iconbrowser-update

example usage:
Code:var getIcon =Ext.ux.TDGi.iconMgr.getIcon; ... iconCls : getIcon('cross') ...
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
9 Sep 2009 7:43 AM #2
-
9 Dec 2009 6:08 AM #3
Hello,
I tried your extension, and it seams to work quite fine.
But there I have some questions:
1.) What is the best way to create the icons.js file?
2.) Is it possible to show the count of the display icons?
3.) Why you have removed the "setPath()" Function? So I need to change your Code to use it.
Thanks and greetings,
Urkman
-
9 Dec 2009 6:33 AM #4Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 29
Urkman,
What do you mean by "Create the icons.js file"?
I honestly don't understand any of your questions.
Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
9 Dec 2009 8:43 AM #5
Hello,
I try to be a little more detailed :-)
1.) I add some more icons( Silk Compansion II ) to my folder, so I want to extend the icons.js file...
2.) I would like to see the count of icons shown in the list.
3.) I one older version of the extension you had a function setPath(), I found that in some Documention. So the older call was: Ext.ux.TDGi.iconBrowser.setPath('images').show(); When I now need to change the Folder I need the change the source code and not just the call...
Hope you now understand what I mean...
Greetings,
Urkman
-
9 Dec 2009 8:55 AM #6Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,167
- Vote Rating
- 29
1: a simple shell script does this.
2) just get icons.lengthCode:garciaj-osxi-6:TDGi.iconSpriteMgr garciaj$ cat x echo "[" icons=`ls icons/ | grep \.png | awk -F. '{print $1}'` numIcons=`echo $icons | wc -l` X=0 for i in `echo $icons` do printf "['$i']" if [ $X -lt $numIcons ]; then X=`echo $X+1 |bc` printf "," fi done echo "];" garciaj-osxi-6:TDGi.iconSpriteMgr garciaj$ ./x icons.js
3) I am hoping to fix this with the next release called TDGi.iconSpriteManager, which lumps all icons into one long sprite

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
10 Feb 2010 9:11 AM #7
TDG Icon Browser in RowEditor
TDG Icon Browser in RowEditor
Hello,
is there a chance to integrate the TDG Icon Browser into the RowEditor plugin without modifying the original RowEditor source code ?
Best regards,
BjoernLast edited by mystix; 10 Feb 2010 at 10:08 AM. Reason: merged with main thread - please post in the correct thread in future. thanks.


Reply With Quote