设置:style:"position:relative;top:2px
var factorName = new Ext.form.Label({
id : 'factorName',
fieldLabel : '要素名称',
style:"position:relative;top:2px;",
text : simpleGrid.getItems('factorName'),
anchor : '100%'
});更多Extjs Label的 fieldLabel和html属性值对齐的方法相关文章请关注PHP中文网!











