Check.js.svn-base 636 B

1234567891011121314151617181920212223242526272829
  1. Ext.define('erp.view.scm.reserve.Check',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. var width = Ext.isIE ? screen.width*0.7*0.8 : '70%',
  8. height = Ext.isIE ? screen.height*0.6 : '65%';
  9. Ext.apply(me, {
  10. items: [{
  11. layout: 'anchor',
  12. items: [{
  13. xtype: "window",
  14. autoShow: true,
  15. closable: false,
  16. maximizable : true,
  17. width: width,
  18. height: height,
  19. layout: 'anchor',
  20. items: [{
  21. anchor: '100% 100%',
  22. xtype: 'Check'
  23. }]
  24. }]
  25. }]
  26. });
  27. me.callParent(arguments);
  28. }
  29. });