1
我正在使用extjs fileuploadfield(xtype)。如何布局extjs fileuploadfield部件
当我加入这个我面板看起来很普通:
的文本字段应伸出的“文件:”结束标签,最好我想浏览按钮更多的权利。这是我如何使用它:
layout: {
type: 'anchor'
},
items: [
{
flex: 1,
xtype: 'label',
text: 'Upload',
style: 'font-weight: bold',
height: 22
},
{
flex: 1,
xtype: 'radio',
boxLabel: 'Client [Pfad/Dateiname]',
name: 'radioradio',
itemId:'RadioClientUploadWindow',
checked: 'true'
}, {
flex: 1,
xtype: 'fileuploadfield',
id: 'filedata',
emptyText: 'Select a document to upload...',
fieldLabel: 'File ',
buttonText: 'Browse '
},
是否有某种方式使这个组件看起来合理可以吗?