Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var do_myAccount = function(btn) {
- btn.el.frame();
- };
- var man_acc_button = new Ext.Button({
- text : 'My Account',
- iconCls : 'icon-control_power',
- handler : do_myAccount
- });
- var man_acc_button2 = new Ext.Button({
- text : 'My Account',
- iconCls : 'icon-control_power',
- handler : do_myAccount
- });
- var userButtons = {
- xtype : 'panel',
- layout : 'vbox',
- frame : false,
- height : 100,
- width : 100,
- layoutConfig : {
- pack : 'center',
- align : 'center'
- },
- items : [
- {items : man_acc_button },
- {html : "<br/>", height : 10},
- {items : man_acc_button2 }]
- };
Add Comment
Please, Sign In to add comment