[Solved] Positioning components in Ext JS [closed]


You should use a FieldContainer to group the criteria box and the + button together with an hbox:

{
    xtype: 'fieldcontainer',
    fieldLabel: 'Criteria 3',
    layout: 'hbox',
    items: [
        { xtype: 'textfield', id: 'criteria_3_input' },
        { xtype: 'button', text: '+', id: 'add_criteria' }
    ]
}

solved Positioning components in Ext JS [closed]