You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behaviour of providing a list of weights that is not of the same cardinality as the rows being rendered is currently unspecified (likely to crash). This should be fixed by either making it impossible to create this situation or by introducing error effects in the algebra (i.e. return an Either when building a table).
It should be possible to bring down Sizing to the individual Cell level so that:
There is no need for aligning Lists in terms of their size making the algebra safer
It is possible to mix different strategies in a table (e.g. saying that a certain column should be fixed and another one weighted)
This involves splitting the current concept of Sizing in an overall table size (e.g. defined in TableConfig) and individual column sizing strategies defined at the level of a Cell.
An example of this happening at the level of Formatter can be seen in 21e8a0b
The text was updated successfully, but these errors were encountered:
Astrac
changed the title
Safer weighted sizing
Bring sizing down to the Cell level
Oct 28, 2018
The behaviour of providing a list of weights that is not of the same cardinality as the rows being rendered is currently unspecified (likely to crash). This should be fixed by either making it impossible to create this situation or by introducing error effects in the algebra (i.e. return anEither
when building a table).It should be possible to bring down
Sizing
to the individualCell
level so that:List
s in terms of their size making the algebra saferThis involves splitting the current concept of
Sizing
in an overall table size (e.g. defined inTableConfig
) and individual column sizing strategies defined at the level of aCell
.An example of this happening at the level of
Formatter
can be seen in 21e8a0bThe text was updated successfully, but these errors were encountered: