Add an itemCls to your slot:
Code:
data = //some data
title = 'Choose this';
slots = [{
name: 'slotname',
title: title,
data: data,
itemCls: 'slot-item-cls',
value: 200 //is a valid value
}];
var .picker = Ext.create('Ext.Picker', {
action: 'ExamplePicker',
doneButton: Ext.MessageBox.OK,
cancelButton: Ext.MessageBox.CANCEL,
useTitles: !!title,
height: '13em',
slots: slots,
listeners: {
change: callback.change,
pick: callback.pick,
cancel: callback.cancel
}
});
// Add and show
Ext.Viewport.add(picker);
picker.show();
Now in your CSS, add:
Code:
.slot-item-cls {
height: 2.5em !important;
}