If you want your items filling all the width of the container, you must use the anchor properties.
Here's a small example that shows a combobox using the anchor property and the width of the combo is 100% of the container...
{ fieldLabel: 'Type', anchor: "100%", xtype: 'combo', typeAhead: true, mode: 'remote', minChars: 1, hiddenName: 'relationship[type_id]', triggerAction: 'all', store: relationshipTypeStore }
No comments:
Post a Comment