well it's actually not a vertical layout but a work around. I spent a few hours on internet for how to place some widgets in contentpane with vertical layout. (the default layout is horizontal). and I failed. I noticed there were some persons did ask a similar question. One among them just said he switched to Extjs later on.
the work around is: use Table to layout those widgets. like
var cc = DomConstruct.create("table");
for(var i = 0; i!=20; ++i) {
var td = DomConstruct.create("td", null, DomConstruct.create("tr", null, cc));
var b = new B({label: i});
CC.place(b.domNode, td);
}
mappanel.set("content", cc);
now these buttons locate vertically.
well. you can use GridContainer, but it looks like overkill to me.