Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CR.Contas = Ext.extend(Ext.Panel, {
- fullscreen: true,
- layout: {
- type: 'vbox'
- },
- title: 'Contas',
- iconCls: 'favorites',
- blah: function() { alert('blah'); },
- dockedItems: [{
- xtype: 'toolbar',
- dock: 'top',
- defaults: {
- iconMask: true,
- ui: 'plain'
- },
- scroll: {
- direction: 'horizontal',
- scrollbars: false
- },
- layout: {
- pack: 'center'
- },
- items: [
- { iconCls: 'search', handler: this.blah, scope: this },
- { iconCls: 'add' },
- { iconCls: 'compose' },
- { iconCls: 'trash' },
- ]
- }]
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement