Home  >  Article  >  php教程  >  How to align fieldLabel and html attribute values ​​of Extjs Label

How to align fieldLabel and html attribute values ​​of Extjs Label

高洛峰
高洛峰Original
2016-12-29 09:11:152207browse

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


For more related articles on how to align the fieldLabel and html attribute values ​​of Extjs Label, please pay attention to PHP Chinese net!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn