输入banner图图片脚本导航/分类

ExtjsLabel的fieldLabel和html属性值对齐的方法_extjs

设置: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%'
});