-1

想知道我是否可以加粗文本,并且可能有图标。

我在 EXTJS 的 v3.2.1 上。感谢您在此问题上提供的帮助。

4

1 回答 1

0

添加一个css类作为

 <style type="text/css">
  .bc-tenant textarea {
    font-weight: bold;
}
    </style>

现在在 textarea 的配置中访问那个 css 类,它是 bc-tenant

new Ext.FormPanel({
                height: 100,
                renderTo: Ext.getBody(),
                items: [{
                    xtype: 'textarea',
                    fieldLabel: 'Name',
                    itemCls: 'bc-tenant'
                }]
            });
于 2013-06-30T07:07:50.093 回答