Reputation: 6612
Currently it seems I can just add buttons. Anyway I'd like to achieve something like this:
a label |button|
would it be possible?
Upvotes: 0
Views: 129
Reputation: 2796
Best way to do this is using a container.
here is the example :
var container = {
xtype : 'container',
layout : 'hbox',
style : 'margin-bottom: 5px;',
items : [
{
xtype: 'label',
text: 'a Label',
},
{
xtype : 'container',
width : 85,
items : {
xtype : "button",
text : "button",
width : 70
}
}
]};
hope this work.
Upvotes: 1