PDA

View Full Version : change all ext fonts



shlomio
13 Oct 2009, 5:30 AM
hi,
I've been looking for an answer for that but couldn't find any...

Is there a way of changing ALL Components font-family ?
Is the only way of changing components fonts sizes is by defining a class to each of the components (using 'cls' attribute)?

10x !

aconran
13 Oct 2009, 6:03 AM
You can use CSS to override the existing rules. This will make the change to all Ext components and you will not have to add a cls configuration to any of your components.

shlomio
13 Oct 2009, 6:06 AM
hi,

Do you mean for example applying the following:

.x-panel-header-text{
font-family: Ariel !important;
font-size: 14px !important;
}
.x-grid3-hd-inner{
font-family: Ariel !important;
font-size: 14px !important;
}

10x