Re: Grid layouts and zIndex.

Hi Fred.

Fred P.:
> Tell me now where is the problem
> with your grid, painting layers
> or 3D grid thing?

I think the problem with this method is that you are required to mention
the objects in the grid or table in a row-major, column-minor order,
which would force you to have this rendering order.  If you wanted, say,
a 3x3 arrangement of objects, layed out automatically with this
grid-mechanism, but you wanted another object to appear over the centre
object, but behind the outer objects, you wouldn't be able to.

Similar situations where this happens already exist -- for
example if you have a <g/> which you'll <use/> later on, and you want an
object to appear somewhere in the middle of it (on the Z axis).  In this
case though you could decompose the used <g/> and do it manually with
the new object inserted in the middle.  But with the grid layout that
won't work; you can't decompose the grid because the grid needs to be
all together for it to determine the appropriate {x,y,width,height}s for
the grid elements.

Cameron

PS: I'm new to the list.  Hi everyone!

-- 
Cameron McCormack
  // clm@csse.monash.edu.au
  // http://www.csse.monash.edu.au/~clm/
  // icq 26955922

Received on Wednesday, 23 April 2003 03:36:33 UTC