20 Nov 2012 1:32 AM #1
Unanswered: How To change background of select field in ST2?
I want to change background of selectfield from white to other color.
Also I want to change font color,size of options in selectfield.
How do I change background, font of selectfield??
20 Nov 2012 4:58 AM #2
var d = document.getElementById( 'department' );
Hope it will Help ..
20 Nov 2012 11:17 AM #3
You have a lot of tools at your disposal for this.
Inline styles: http://docs.sencha.com/touch/2-1/#!/...lect-cfg-style
Your own classes:
Generalized theming using scss variables:
How you decide to approach this is dependent on a number of factors such as how much you intend on reusing these styles, etc.
Try these out and if you have trouble targeting the style, just post the code you tried so we can help.
Front End Developer
Sencha Touch Screencasts
Vimeo - Sencha Touch Channel
Sencha Cordova Builder enables the automatic creation, building, and running of PhoneGap (Cordova) projects with Sencha Touch.
Am I Sencha Touch Ready? checks your system to determine what you need to do to start Sencha Touch development. If you're having trouble getting up and running, try this out.
Sencha Tools Bridge allows Sencha SDK Tools to co-exist with Sencha Cmd on the same system.