Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CR.Contas = Ext.extend(Ext.Panel, {
  2.     fullscreen: true,
  3.     layout: {
  4.         type: 'vbox'
  5.     },
  6.     title: 'Contas',
  7.     iconCls: 'favorites',
  8.  
  9.     dockedItems: [{
  10.         xtype: 'toolbar',
  11.         dock: 'top',
  12.         defaults: {
  13.             iconMask: true,
  14.             ui: 'plain'
  15.         },
  16.         scroll: {
  17.             direction: 'horizontal',
  18.             scrollbars: false
  19.         },
  20.         layout: {
  21.             pack: 'center'
  22.         },
  23.         items: [
  24.             { iconCls: 'search', handler: this.blah, scope: this },
  25.             { iconCls: 'add' },
  26.             { iconCls: 'compose' },
  27.             { iconCls: 'trash' },
  28.         ]
  29.     }],
  30.  
  31.     blah: function() { alert('blah'); }
  32.  
  33. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement