Skip to content

Instantly share code, notes, and snippets.

@homeyer

homeyer/app.js

Created Oct 7, 2011
Embed
What would you like to do?
ExtJS4 out of the box window styling
Ext.application({
name: 'My App',
launch: function() {
Ext.create('Ext.window.Window',{
title: 'Custom Window',
width : 200,
height : 150,
modal: true,
layout: 'fit',
items: {
xtype: 'form',
html: 'Form Content',
border: 0,
buttons: [{
text: 'close'
}]
}
}).show();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment