MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Nested Grids

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89649] Re: Nested Grids
  • From: dh <dh at metrohm.ch>
  • Date: Mon, 16 Jun 2008 06:40:42 -0400 (EDT)
  • References: <g32q6b$c37$1@smc.vnet.net>


Hi David,

the inner Grid fills all alloted space. What you see is the extra space 

around each item, given by Spacing. But you would certainly not like to 

set this to zero.

Daniel



David Park wrote:

> Nested Grids would seem to be a very useful construct because subportions of 

> a large grid could be independently developed. However, I have been studying 

> the tutorial/GridsRowsAndColumns and it has only one example and that 

> example hides a defect. Here is the slightly modified example with Frames 

> added for all elements:

> 

> Grid[{{Grid[{{a, b}, {c, d}}, Frame -> All, Background -> Orange],

>    e}, {f, g}},

>  Frame -> All]

> 

> The problem is that the nested Grid does not fill its space. If we use 

> Dividers -> Central, they also do not fill to the edges of the containing 

> item. It seems that we need something like an ImageMargins option, but that 

> is not available. Is there an easy method to get nested grids to fill their 

> space in the enclosing grid? Is there a hard way?

> 





-- 



Daniel Huber

Metrohm Ltd.

Oberdorfstr. 68

CH-9100 Herisau

Tel. +41 71 353 8585, Fax +41 71 353 8907

E-Mail:<mailto:dh at metrohm.com>

Internet:<http://www.metrohm.com>




  • Prev by Date: Re: a mathlink question
  • Next by Date: Re: Nested Grids
  • Previous by thread: Re: Nested Grids
  • Next by thread: Re: Nested Grids