Sure, it's just the subLayout() code from the developer lab example on the website though. I was just wondering if anyone else had come across this or if there was something I was missing that wasn't mentioned in the developer docs.
Code:
// Does the diagonal layout. The extent of this manager becomes the sum of
// the actual widths by the sum of the actual heights of the controlled
// fields.
protected void sublayout(int width, int height)
{
int x = 0;
int y = 0;
for (int i = 0; i < getFieldCount(); i++) {
Field field = getField(i);
layoutChild( field, width-x, height-y );
setPositionChild(field, x, y);
x += field.getWidth();
y += field.getHeight();
}
setExtent(x,y);
}