RelativeSearch.js 413 B

123456789101112131415161718192021
  1. Ext.define('erp.view.common.RelativeSearch',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'tabpanel',
  10. layout: 'fit',
  11. defaults: {
  12. anchor: '100% 100%',
  13. xtype: 'container',
  14. layout: 'anchor',
  15. style: 'background: #f1f1f1;'
  16. }
  17. }]
  18. });
  19. me.callParent(arguments);
  20. }
  21. });