Hi Robert,

fixed means an theme dependend height of one row. (i.e. in speyside
20px), in this height all one height high elements find their place
(like buttons, input fields, one row of text...).
Using px heights is at your own risk, but needed for some elements (like
box, sheet and so on...)

Alternativly you can give a proportion of elements (thats what you do
with the * notation).
I.e. column="1*;2*" gives the first column 1/3 space and 2/3 for the
second column. This works fine for rows, too.

For grouping elements togehther to give them an slightliy different
layout you can use the tc:panel element (this is interpreted as one
element), which can have it's own layout for multiple elements inside
the panel.

You can take a look at tehe tobago-example-demo. On the layout page you
can click on view source to see how this layout is generated.

Regards
Phil


Robert D. Morse wrote:
> Hello,
> I'm making the slow transition from Struts to MyFaces and Tobago.  
> Could someone point me to an explanation of the tc:gridLayout
> component?   Specifically, the syntax for the "columns" and "rows"
> values.   For example, I'm not really sure what 'columns="1*;4*" does,
> or when to use "fixed" vs a specific pixel width.   The tag docs just
> seem to give the various values but no real explanation.
> 

-- 
Philippe Hennes - Web Developer - Atanion GmbH
Software Development - Bismarckstrasse 13 - 26122 Oldenburg - Germany
phone +49 441 4082321 - mobile +49 173 2432664 - fax +49 441 4082333
mailto:[EMAIL PROTECTED] - http://www.atanion.com


Reply via email to