Home >Web Front-end >JS Tutorial >Method to align fieldLabel and html attribute values ​​​​of Extjs Label_extjs

Method to align fieldLabel and html attribute values ​​​​of Extjs Label_extjs

WBOY
WBOYOriginal
2016-05-16 16:44:331469browse

Settings: style:"position:relative;top:2px

Copy code The code is as follows:

var factorName = new Ext.form.Label({
id : 'factorName',
fieldLabel : 'factor name',
style:"position:relative;top:2px;",
text : simpleGrid.getItems('factorName'),
anchor : '100%'
});
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