Re: The big layout debate v1
Charles Goodwin <[email protected]> Wed, 31 Mar 2004 23:06:40 +0000
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Organization | XWT Foundation |
| Message-ID | <[email protected]> |
Also worth noting is that in my grid layout draft, there is no such
thing as cells. From what I can tell, the addition of cells to the spec
is merely to enable the following assertion which made delegating col
and row widths a bit easier:
"The maximum width of each cell is the maxwidth of the box
occupying [the cell] divided by the box's colspan."
All other mentions of cells in the current reference are conceptually
interchangable with the notion of a box, although wording might vary.
I've already implemented grid layout for the core according to my
suggested grid layout spec, which is the same in all but the above
assertion as the current spec.
I think it's more logical if a box with colspan only allocates the width
it needs to take up in each column, so that boxes with colspan and
minwidths do not impact the width of a column where all boxes are shrunk
(and there is a sibling column to take up the slack).
--
- Charlie
Charles Goodwin <[email protected]>
Online @ http://www.charlietech.com