Skip to content

Instantly share code, notes, and snippets.

@homeyer
Created October 7, 2011 05:50
Show Gist options
  • Save homeyer/1269564 to your computer and use it in GitHub Desktop.
Save homeyer/1269564 to your computer and use it in GitHub Desktop.
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