0
votes

{ xtype: panel, layout: 'form', columnWidth: 0.3, items: [ { xtype: 'combo', fieldLabel: 'Sample' }]}

2

2 Answers

0
votes

With the grow config option, you can make the field grow to the size of the content (optionally up to a maximum width) https://docs.sencha.com/extjs/5.0.1/api/Ext.form.field.ComboBox.html#cfg-grow

0
votes

Use hbox layout for you panel with flex property for you. Or vbox if you want the rest of the fields to be lower.

Fiddle