Code:
Ext.define 'nso.view.user.Login'
  extend: 'Ext.window.Window'
  alias: 'widget.UserLogin'
  
  title: 'Login'
  width: 300
  height: 300
  
  items: [
    Ext.create 'Ext.form.Panel'
      bodyStyle: 'padding: 5px'
      
      items: [
        {
          xtype: 'textfield'
          name: 'username'
          fieldLabel: 'Username'
        }
        
        {
          xtype: 'textfield'
          name: 'password'
          fieldLabel: 'Password'
          inputType: 'password'
        }
      ]
      
      buttons: [
        {
          text: 'Login'
          action: 'login'
        }
      ]
  ]
Note the use of Ext.create() in the items property.

It feels wrong, but there's no xtype for everything. Should I need to define my own widget for the form? Like 'nso.view.user.login.Form?'