item.calcPreferredSize();
float itemWidth = item.width;
float itemHeight = item.height;
if (item instanceof Positionable)
{
Positionable pos = (Positionable) item;
pos.setPosition(x + xOffset, y + yOffset);
}
if (orientation == HORIZONTAL)
xOffset += itemWidth;
else