3 Dec 2012 11:11 AM #11
While basic theming is really pretty easy, there's a lot of complex stuff that you can do if you want to, so be sure to check out the resources for theming: http://docs.sencha.com/touch/2-1/#!/guide/theming
4 Dec 2012 2:32 AM #12
Thank you very much for the reply!! I'm going to try it right now... I'll see if it works.
20 Jan 2013 5:17 PM #13
Look in folder touch\resources\themes\images\default\pictos for the complete list.Andy
25 Sep 2013 8:42 AM #14
There are 11 icons in the kitchen sink. But on that same "icons" page of the kitchen sink it says:
"Sencha Touch comes with over 300 icons that can optionally be included in your app via Sass and Compass."
No further instruction. I guess I have to read the whole "theming" section to simply add one icon that isn't part of this 11.
Edit: Ok, so I've had to look through the SASS code and even had to dig down into the icon mixin! All I wanted to do was include the "info_plain" icon that is located in the images directory (described above). The guide is out of date, using "pictos-iconmask($name)". It has now changed to "icon($name)".
I placed @include icon("info_plain"); in my app.scss file and compiled. It gave me an error stating that the icon could not be found. Hmm, so I look into the icon mixin (something I shouldn't have to do, the documentation continues to fail).
The mixin basically translates the name you give into a character as part of the pictos font. It does not look, nor does it have anything to do with, the icons in that themes folder. So now I'm stuck with the images in that font, or am forced to use something else to import this png file that seems to be absolutely useless to be included in the themes folder.
The barrier for entry into Sencha is intense.
By pcr in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 24 Dec 2009, 7:10 AM
By sj137 in forum Ext 1.x: BugsReplies: 0Last Post: 23 May 2008, 1:51 AM
By mhat in forum Community DiscussionReplies: 1Last Post: 15 Oct 2007, 3:37 PM