int hh = 0;
for (int i = 0, len = count; i < len; i++) {
ContentPanel cp = (ContentPanel) container.getItem(i);
if (cp != item) {
hh += (cp.getOffsetHeight() - El.fly(cp.getElement("bwrap")).getHeight());
cp.el().setWidth(size.width);
cp.el().setHeight("auto");
}
}
size.height -= hh;
ContentPanel cp = (ContentPanel) item;