extjs这两个文本框上下之间的距离?

这个两个文本框上下之间的距离怎么写?求解 谢谢
2025-05-13 23:08:43
推荐回答(2个)
回答1:

给下面的文本框设置margin:'10,0,0,0',分别代表距上边10px,距其他边为0

回答2:

{

xtype : 'textfield',

name : 'apiname',

fieldLabel : '接口名称',

allowBlank : false,

margin : '10 5 10 10',

maxLength : 30 

}