PDA

View Full Version : [4.2.2] x-combo-list-small doesn't work in 4.2.2 Combo boxes



kerbo
1 Oct 2013, 4:09 PM
I need a smaller font in the drop down list of a combo and have used the following code in 4.2 to do this:

css:

.x-combo-list-small {
font:normal 11px tahoma, arial, helvetica, sans-serif;
}

combobox:

listConfig: {cls: 'x-combo-list-small'}

This code worked in 4.2 (and earlier versions) and now it doesn't work in 4.2.2.

Is there another way to get a smaller font in my dropdown lists?

evant
1 Oct 2013, 4:16 PM
It's just a specificity issue. x-boundlist-item has it's own style, so you'd need to change your selector:



.x-combo-list-small .x-boundlist-item {

}