title: Center-align a button in ExtJS
body: <pre><code>var myWin = new Ext.Window({
          height : 100,
          width : 200,
          maximizable : true,
          items : [ {
              xtype : 'button',
              text : 'myButton'
           // align : center
          } ]
  
      });
      myWin.show();
  </code></pre>
  
  <p>This is my code. I want to align the button to center, i know there are ways to do that but they are a bit long and tricky, is there a simple solution like <code>align : center</code> or something like that, that should align button or text fields to center?</p>