Settings: style:"position:relative;top:2px
1 2 3 4 5 6 7 | var factorName = new Ext.form.Label({
id : 'factorName',
fieldLabel : '要素名称',
style: "position:relative;top:2px;" ,
text : simpleGrid.getItems('factorName'),
anchor : '100%'
});
|
Copy after login
For more related articles on how to align the fieldLabel and html attribute values of Extjs Label, please pay attention to PHP Chinese net!