- // TODO: currently we use either a fixed table width or the parent's size.
- // We also want to be able to calculate the table width from its content,
- // whether using fixed column widths or cell content min/max width.
- // Probably need a boolean flag to say whether we need to stretch cells
- // to fit the table width, or to simply use min/max cell widths. The
- // trouble with this is that if cell widths are not specified, they
- // will be tiny; we could use arbitrary defaults but this seems unsatisfactory.
- // Anyway, ignoring that problem, we probably need to factor layout into a function
- // that can can calculate the maximum unconstrained layout in case table size is
- // not specified. Then LayoutToBestSize() can choose to use either parent size to
- // constrain Layout(), or the previously-calculated max size to constraint layout.
-