Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ext.setup({
- fullscreen: false,
- onReady: function(){
- var butLogin = new Ext.Button({
- text: 'Login',
- ui: 'round',
- handler: function(){
- var msg = new Ext.MessageBox({
- centered: true
- });
- msg.alert('info', 'ok');
- }
- });
- var tela = new Ext.Panel({
- items: [butLogin],
- layout: {
- type: 'vbox'
- },
- width: 300,
- height: 300
- });
- tela.show();
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement