I would like to know how to set certain font style (size, font name, etc) for an entire application of ExtJS 4?
I hope there is some single setting which can work for entire application.
Please enlighten !!!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use CSS code below in your custom CSS file:
Your custom CSS file comes after ext-all.css file like this:
Of course you can use
<style>tag instead.Edit: (for the comment)
For Panel Titles use this:
For Charts it’s different. Because they use Theme for styling. So you can create a theme and use it for charts. To create theme you can do something like this:
To see all available configs, check the link below and find Theming title:
http://www.sencha.com/learn/drawing-and-charting/
To use ‘MyTheme’ for your charts, you can do this: