[英]EXTJS 4.1 How can I put a button next a fieldlabel of an textfield?
I have an textfield like this: 我有一个这样的文本字段:
xtype: 'textfield',
fieldLabel: 'To',
id: 'mailTo',
name: 'mailTo',
The layout of my form: 我的表格的布局:
layout: {
type: 'vbox',
align: 'stretch'
}
The red rectangle is where I want to put my button. 红色矩形是我要放置按钮的位置。
Thanks for your help 谢谢你的帮助
Perhaps as a workaround/alternative you could put a button with that same label, then as your next item under that you could put a textbox without a label. 也许作为一种解决方法/替代方法,您可以放置一个带有相同标签的按钮,然后作为下一个项目,您可以放置一个没有标签的文本框。 It would probably achieve the same result and would be relatively simple.
它可能会达到相同的结果,并且相对简单。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.