ViewPort.js 547 B

12345678910111213141516171819202122232425
  1. /*
  2. * @Description: 修改样式
  3. * @Author: hy
  4. * @Date: 2019-08-12 17:59:33
  5. * @LastEditTime: 2019-08-13 08:59:31
  6. */
  7. Ext.define('uas.view.form.formpanel.ViewPort', {
  8. extend: 'Ext.form.Panel',
  9. controller: 'formpanelcontroller',
  10. viewModel: 'formpanelmodel',
  11. xtype:'formpanel-viewport',
  12. layout: 'anchor',
  13. requires: [
  14. 'Ext.layout.container.Anchor'
  15. ],
  16. items: [{
  17. anchor: '100% 50%',
  18. xtype:'formpanel-panel',
  19. }, {
  20. anchor: '100% 50%',
  21. xtype:'formpanel-grid',
  22. }]
  23. });