Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
60
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.     blah: function() { alert('blah'); },
  10.  
  11.     dockedItems: [{
  12.         xtype: 'toolbar',
  13.         dock: 'top',
  14.         defaults: {
  15.             iconMask: true,
  16.             ui: 'plain'
  17.         },
  18.         scroll: {
  19.             direction: 'horizontal',
  20.             scrollbars: false
  21.         },
  22.         layout: {
  23.             pack: 'center'
  24.         },
  25.         items: [
  26.             { iconCls: 'search', handler: this.blah, scope: this },
  27.             { iconCls: 'add' },
  28.             { iconCls: 'compose' },
  29.             { iconCls: 'trash' },
  30.         ]
  31.     }]
  32.  
  33. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement