Sorry was in a hurry when I typed the sample and missed some quotes and put in a semi colon.
ok, First of all when your post code samples please wrap your code in code blocks.
Code:
Ext.application({
name : 'Test',
launch : function() {
var cont = Ext.create('Ext.Container', {
//This is the parent container that is scrollable and
//wraps all the child containers
scrollable : true,
//Layout vbox stack child containers
layout : {
type : 'vbox',
pack : 'start',
align : 'stretch',
},
items : [{
xtype : 'container',
html : 'I am a child container first in the vbox stack'
},{
xtype : 'container',
html : 'I am a child container second in the vbox stack'
}]
});
Ext.Viewport.add(cont);
});