我有一个组合框,我只是想让它变得更大胆。数据在存储中。我可以加粗列表中的项,但在文本框中选择该项后,不能加粗。
我试过了:
fontWeight:‘粗体’,cls:'make-bold',itemCls:'make-bold',
我可以通过模板加粗列表,但不能加粗文本字段中的项目。
items:[
{
xtype: 'combobox',
name: 'inputType',
id: 'inputType',
padding : '6 5 5 5',
store: 'Codes',
displayField: 'display',
valueField: 'code',
value: 'Inp_CODE',
editable: false,
width: 80,
tpl: Ext.create('Ext.XTemplate',
'<tpl for=".">','<div class="x-boundlist-item"><b>{display}</b></div>','</tpl>')
}, {发布于 2013-04-20 00:55:59
这就是它
fieldCls: 'make-bold',
style: {
fontWeight: 'bold'
} 为什么我两个都需要?
https://stackoverflow.com/questions/16109426
复制相似问题