title: Extjs 4: use ux.center
body: <p>I'm having trouble using the custom layout ux.center. Am I doing the Ext.Loader or the Ext.require wrong? The Center.js file is under /var/www/application/ux/layout/Center.js and this file (app.js) is under /var/wwww/application/app.js</p>
  
  <pre><code>Ext.Loader.setPath('Ext.ux', '/var/www/application/ux');
  Ext.require('Ext.ux.layout.Center');
  Ext.application({
      name: 'AM',
      appFolder: 'app',
      controllers: ['Users'],
      launch: function(){
              Ext.state.Manager.setProvider(Ext.create('Ext.state.CookieProvider'));
              Ext.create('Ext.container.Viewport', {
                      width: 1150,
                      height: 'auto',
                      autoScroll: 'true',
                      layout: 'anchor',
                      items:[{xtype: 'userpanel'},
                      {
                              xtype: 'panel',
                              width: 1150,
                              layout:'ux.center',
                              items:[{ 
                                      xtype: 'panel',
                                      width: 1150,
                                      widthRatio: .75,
                                      items: [{
                                              xtype: 'userbutton',
                                              action: '',
                                              text: 'Print'
                                      },
                                      {
                                              xtype: 'userbutton',
                                              action: '',
                                              text: 'Download'
                                      },
                                      {
                                              xtype: 'userbutton',
                                              action: 'chart',
                                              text: 'Chart!'
                                      }]
                              }]}]
              });
  }});
  </code></pre>
  
  <p>Thank you for any tips on getting this layout to work</p>