PDA

View Full Version : Small Font in DisplayField



kerbo
7 Jul 2009, 2:25 PM
I'm using the new DisplayField element and want to display a smaller font (11pt). In the other fields you can specify 'x-small-editor' in ctCls to get it to work, like:

fldTerritory = new Ext.form.DisplayField({
id: 'territory',
fieldLabel: 'Territory',
labelStyle: 'font-size:11px;',
ctCls: 'x-small-editor',
name: 'territory',
width: 180
});

This doesn't work for DisplayField. ctCls has no effect.

Ideas?