Extjs Label的 fieldLabel和html属性值对齐的方法


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

« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3