Enrico.Massone
4 Jul 2012, 2:30 AM
Hello everyone,
I'm looking for help to complete a theoretically simple task with ExtJS 4.1.
Consider the following code, where I define a container which contains a textfield and a button:
xtype: 'container',
flex: 1,
layout: 'anchor',
items: [{
xtype: 'button',
text: 'Create new processing',
id: 'add_processing',
},{
xtype:'textfield',
fieldLabel: 'Email',
afterLabelTextTpl: required,
name: 'email',
vtype:'email'
}]
Given that code, is it possible to place a label ABOVE the button ?
Thanks in advance for your help.
Regards.
Enrico.
I'm looking for help to complete a theoretically simple task with ExtJS 4.1.
Consider the following code, where I define a container which contains a textfield and a button:
xtype: 'container',
flex: 1,
layout: 'anchor',
items: [{
xtype: 'button',
text: 'Create new processing',
id: 'add_processing',
},{
xtype:'textfield',
fieldLabel: 'Email',
afterLabelTextTpl: required,
name: 'email',
vtype:'email'
}]
Given that code, is it possible to place a label ABOVE the button ?
Thanks in advance for your help.
Regards.
Enrico.