title: ExtJS: Automatically resize form fields on window resize
body: <p>I've created Ext.Window with some Ext.form fields inside. But when I resize window form elements still have initial width and height.</p>
  
  <p>Is it required explicitly resize form fields on window resize? Or there is some option that enables auto resize of form fields?</p>
  
  <p>Sample code:</p>
  
  <pre><code>var f_1 = new Ext.form.TextField({fieldLabel: 'Label 1'});
  var f_2 = new Ext.form.TextField({fieldLabel: 'Label 2'});
  var fp = new Ext.form.FormPanel({items: [f_1, f_2]});
  
  var w = new Ext.Window({
      layout: 'form',
      title: 'test',
      items: fp
  });
  
  w.show()
  </code></pre>