Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Ext.setup({
  2.     fullscreen: false,
  3.     onReady: function(){
  4.         var butLogin = new Ext.Button({
  5.             text: 'Login',
  6.             ui: 'round',
  7.             handler: function(){
  8.                 var msg = new Ext.MessageBox({
  9.                     centered: true
  10.                 });
  11.                 msg.alert('info', 'ok');
  12.             }
  13.         });
  14.        
  15.         var tela = new Ext.Panel({
  16.             items: [butLogin],
  17.             layout: {
  18.                 type: 'vbox'
  19.             },
  20.             width: 300,
  21.             height: 300
  22.         });
  23.         tela.show();
  24.     }
  25. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement