PDA

View Full Version : Sizing the application



Gary Pickrell
17 Jan 2011, 9:58 AM
I'm debugging an app in chrome rather than the emulator. To do layout I'd like to control the apps size. When I don't use
fullscreen: true in main panel content div isn't created. What am I doing wrong?



new Ext.Application({
name: 'Bier',
launch: function() { this.viewport = MainPanel(); }
});

function MainPanel()
{ return new Ext.Panel({
//fullscreen: true,
width: 400,
height: 400,
style: "background-color: #fee",
html: 'Hello World'
});
}